diff options
author | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2009-10-29 17:16:31 +0000 |
---|---|---|
committer | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2009-10-29 17:16:31 +0000 |
commit | fecac647d8024c34810386511128070f2d66e004 (patch) | |
tree | 47cd6d45a15715a3b9779213de3ed72c436d2c43 /apps/plugin.c | |
parent | 5ca112b21e2fd65aa66644ff6131a0b428ef1f75 (diff) | |
download | rockbox-fecac647d8024c34810386511128070f2d66e004.tar.gz rockbox-fecac647d8024c34810386511128070f2d66e004.zip |
Only expose pcmbuf_beep on SWCODEC targets (aka fix red).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23406 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.c')
-rw-r--r-- | apps/plugin.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index b79ea49054..b75bfe65bd 100644 --- a/apps/plugin.c +++ b/apps/plugin.c | |||
@@ -672,7 +672,9 @@ static const struct plugin_api rockbox_api = { | |||
672 | appsversion, | 672 | appsversion, |
673 | /* new stuff at the end, sort into place next time | 673 | /* new stuff at the end, sort into place next time |
674 | the API gets incompatible */ | 674 | the API gets incompatible */ |
675 | #if (CONFIG_CODEC == SWCODEC) | ||
675 | pcmbuf_beep, | 676 | pcmbuf_beep, |
677 | #endif | ||
676 | }; | 678 | }; |
677 | 679 | ||
678 | int plugin_load(const char* plugin, const void* parameter) | 680 | int plugin_load(const char* plugin, const void* parameter) |