summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2007-03-22 09:18:46 +0000
committerDave Chapman <dave@dchapman.com>2007-03-22 09:18:46 +0000
commit831084842182c076cbf5e8f7bf089029dbab8ae6 (patch)
tree822c3d42b30bfa33a8d55b7701ba31577410f45c /apps/plugin.h
parent81cad7db4617dfaabf324e2f92fae2181911557b (diff)
downloadrockbox-831084842182c076cbf5e8f7bf089029dbab8ae6.zip
rockbox-831084842182c076cbf5e8f7bf089029dbab8ae6.tar.gz
rockbox-831084842182c076cbf5e8f7bf089029dbab8ae6.tar.bz2
rockbox-831084842182c076cbf5e8f7bf089029dbab8ae6.tar.xz
Some small mpegplayer improvements/bug-fixes, and improved A/V sync. Audio is used as the master clock and video is synced to the number of samples played. This doesn't take account of any PTS difference at the start of the stream. Also enable Limit FPS and Skip Frames by default - these options need to be enabled for A/V sync to work. Adds pcm_get_bytes_waiting() to the plugin API
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12884 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index e3c086e..087908b 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -110,7 +110,7 @@
#define PLUGIN_MAGIC 0x526F634B /* RocK */
/* increase this every time the api struct changes */
-#define PLUGIN_API_VERSION 48
+#define PLUGIN_API_VERSION 49
/* update this to latest version if a change to the api struct breaks
backwards compatibility (and please take the opportunity to sort in any
@@ -602,6 +602,8 @@ struct plugin_api {
int (*playlist_resume)(void);
int (*playlist_start)(int start_index, int offset);
struct system_status *global_status;
+
+ size_t (*pcm_get_bytes_waiting)(void);
};
/* plugin header */