summaryrefslogtreecommitdiff
path: root/apps/plugin.c
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2013-12-14 23:15:45 +0100
committerThomas Martitz <kugel@rockbox.org>2013-12-14 23:15:45 +0100
commit1fc19042f72e9171b79c5a847cbce0c8939888c5 (patch)
tree4a5edc88e4533a7cfa66a5fd539433bea2689d2d /apps/plugin.c
parent50eb528bc1f9d2f7b7260eff8b85a5ed5b96e679 (diff)
Bump plugin api and sort.
Change-Id: I8b8ab58abbd40726326b8b47bd6bbb07580b5ce4
Diffstat (limited to 'apps/plugin.c')
-rw-r--r--apps/plugin.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index 62f9dd7558..18c49f4c27 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -588,6 +588,8 @@ static const struct plugin_api rockbox_api = {
mixer_channel_set_amplitude,
mixer_channel_get_bytes_waiting,
mixer_channel_set_buffer_hook,
+ mixer_set_frequency,
+ mixer_get_frequency,
system_sound_play,
keyclick_click,
@@ -797,11 +799,6 @@ 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)