summaryrefslogtreecommitdiff
path: root/apps/plugin.h
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.h
parent9511526410e38e8ca3855c9e99c2a64592849f2a (diff)
downloadrockbox-b8bd1ee557c58119178715a15f98dfcb56c80dee.tar.gz
rockbox-b8bd1ee557c58119178715a15f98dfcb56c80dee.zip
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.h')
-rw-r--r--apps/plugin.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index 0edbc87e37..920d804ab5 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -610,13 +610,11 @@ struct plugin_api {
610 /* new stuff at the end, sort into place next time 610 /* new stuff at the end, sort into place next time
611 the API gets incompatible */ 611 the API gets incompatible */
612 612
613#if NUM_CORES > 1 613#if (CONFIG_CODEC == SWCODEC)
614 void (*spinlock_init)(struct mutex *m); 614 void (*spinlock_init)(struct mutex *m);
615 void (*spinlock_lock)(struct mutex *m); 615 void (*spinlock_lock)(struct mutex *m);
616 void (*spinlock_unlock)(struct mutex *m); 616 void (*spinlock_unlock)(struct mutex *m);
617#endif
618 617
619#if (CONFIG_CODEC == SWCODEC)
620 int (*codec_load_file)(const char* codec, struct codec_api *api); 618 int (*codec_load_file)(const char* codec, struct codec_api *api);
621 const char *(*get_codec_filename)(int cod_spec); 619 const char *(*get_codec_filename)(int cod_spec);
622 bool (*get_metadata)(struct track_info* track, int fd, const char* trackname, 620 bool (*get_metadata)(struct track_info* track, int fd, const char* trackname,