summaryrefslogtreecommitdiff
path: root/apps/plugin.c
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2007-07-19 19:32:29 +0000
committerMichael Sevakis <jethead71@rockbox.org>2007-07-19 19:32:29 +0000
commitb8bd1ee557c58119178715a15f98dfcb56c80dee (patch)
tree9f1efe7d392425b3865781b2562b4fd71cdc672b /apps/plugin.c
parent9511526410e38e8ca3855c9e99c2a64592849f2a (diff)
downloadrockbox-b8bd1ee557c58119178715a15f98dfcb56c80dee.zip
rockbox-b8bd1ee557c58119178715a15f98dfcb56c80dee.tar.gz
rockbox-b8bd1ee557c58119178715a15f98dfcb56c80dee.tar.bz2
rockbox-b8bd1ee557c58119178715a15f98dfcb56c80dee.tar.xz
MpegPlayer: Add a simple messaging scheme for sending stream commands. Remove the need to disable FIQ when adding to PCM buffer.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13931 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.c')
-rw-r--r--apps/plugin.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index 7931145..aff24e0 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -488,13 +488,12 @@ static const struct plugin_api rockbox_api = {
#endif
/* new stuff at the end, sort into place next time
the API gets incompatible */
-#if NUM_CORES > 1
+
+#if (CONFIG_CODEC == SWCODEC)
spinlock_init,
spinlock_lock,
spinlock_unlock,
-#endif
-#if (CONFIG_CODEC == SWCODEC)
codec_load_file,
get_codec_filename,
get_metadata,