From 831084842182c076cbf5e8f7bf089029dbab8ae6 Mon Sep 17 00:00:00 2001 From: Dave Chapman Date: Thu, 22 Mar 2007 09:18:46 +0000 Subject: 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 --- apps/plugin.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps/plugin.c') diff --git a/apps/plugin.c b/apps/plugin.c index 1a5ee4e..82f0113 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -487,6 +487,8 @@ static const struct plugin_api rockbox_api = { playlist_resume, playlist_start, &global_status, + + pcm_get_bytes_waiting, }; int plugin_load(const char* plugin, void* parameter) -- cgit v1.1