diff options
Diffstat (limited to 'apps/plugin.h')
-rw-r--r-- | apps/plugin.h | 4 |
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, |