summaryrefslogtreecommitdiff
path: root/apps/plugin.c
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2013-07-05 22:54:02 -0400
committerMichael Sevakis <jethead71@rockbox.org>2013-07-05 22:54:02 -0400
commit91ff99c2adc6787c75346c882435657db3949c60 (patch)
treea955d24c350ef224553af18a65d42b4bac5c7851 /apps/plugin.c
parent74f90bdb187be0388f18d314206f6d39e31f42db (diff)
downloadrockbox-91ff99c2adc6787c75346c882435657db3949c60.zip
rockbox-91ff99c2adc6787c75346c882435657db3949c60.tar.gz
rockbox-91ff99c2adc6787c75346c882435657db3949c60.tar.bz2
rockbox-91ff99c2adc6787c75346c882435657db3949c60.tar.xz
...and mixer_set/get_frequency is SWCODEC only! :-)
Change-Id: I6badf687ef330abf79f2e1a809d8b2f93ba4e911
Diffstat (limited to '')
-rw-r--r--apps/plugin.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index a5cdfc3..658064c 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -798,8 +798,10 @@ static const struct plugin_api rockbox_api = {
/* new stuff at the end, sort into place next time
the API gets incompatible */
+#if CONFIG_CODEC == SWCODEC
mixer_set_frequency,
mixer_get_frequency,
+#endif
};
int plugin_load(const char* plugin, const void* parameter)