summaryrefslogtreecommitdiff
path: root/apps/plugin.c
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2007-12-29 19:46:35 +0000
committerMichael Sevakis <jethead71@rockbox.org>2007-12-29 19:46:35 +0000
commita222f27c4a17ed8f9809cda7861fe5f23d4cc0c1 (patch)
treed393a23d83549f99772bb156e59ffb88725148b6 /apps/plugin.c
parent1d0f6b90ff43776e55b4b9f062c9bea3f99aa768 (diff)
downloadrockbox-a222f27c4a17ed8f9809cda7861fe5f23d4cc0c1.zip
rockbox-a222f27c4a17ed8f9809cda7861fe5f23d4cc0c1.tar.gz
rockbox-a222f27c4a17ed8f9809cda7861fe5f23d4cc0c1.tar.bz2
rockbox-a222f27c4a17ed8f9809cda7861fe5f23d4cc0c1.tar.xz
mpegplayer: Make playback engine fully seekable and frame-accurate and split into logical parts. Be sure to have all current features work. Actual UI for seeking will be added soon. Recommended GOP size is about 15-30 frames depending on target or seeking can be slow with really long GOPs (nature of MPEG video). More refined encoding recommendations for a particular player should be posted soon.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15977 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.c')
-rw-r--r--apps/plugin.c19
1 files changed, 18 insertions, 1 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index 10391f9..0192590 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -519,7 +519,7 @@ static const struct plugin_api rockbox_api = {
thread_wait,
-#ifdef PROC_NEEDS_CACHEALIGN
+#if (CONFIG_CODEC == SWCODEC)
align_buffer,
#endif
@@ -564,6 +564,23 @@ static const struct plugin_api rockbox_api = {
find_albumart,
search_albumart_files,
#endif
+
+#if CONFIG_CODEC == SWCODEC
+ pcm_play_lock,
+ pcm_play_unlock,
+ queue_enable_queue_send,
+ queue_empty,
+ queue_wait,
+ queue_send,
+ queue_reply,
+#ifndef HAVE_FLASH_STORAGE
+ ata_spin,
+#endif
+#ifdef HAVE_SCHEDULER_BOOSTCTRL
+ trigger_cpu_boost,
+ cancel_cpu_boost,
+#endif
+#endif /* CONFIG_CODEC == SWCODEC */
};
int plugin_load(const char* plugin, void* parameter)