1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Michael Sevakis 2007-07-19 19:32:29 +00:00
parent 9511526410
commit b8bd1ee557
3 changed files with 298 additions and 151 deletions

View file

@ -610,13 +610,11 @@ struct plugin_api {
/* new stuff at the end, sort into place next time
the API gets incompatible */
#if NUM_CORES > 1
#if (CONFIG_CODEC == SWCODEC)
void (*spinlock_init)(struct mutex *m);
void (*spinlock_lock)(struct mutex *m);
void (*spinlock_unlock)(struct mutex *m);
#endif
#if (CONFIG_CODEC == SWCODEC)
int (*codec_load_file)(const char* codec, struct codec_api *api);
const char *(*get_codec_filename)(int cod_spec);
bool (*get_metadata)(struct track_info* track, int fd, const char* trackname,