summaryrefslogtreecommitdiff
path: root/apps/plugin.c
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2011-08-03 09:52:23 +0000
committerThomas Martitz <kugel@rockbox.org>2011-08-03 09:52:23 +0000
commit589879bb3d95a1bd84011307a2c2cc934654456c (patch)
treee9832e7c98186de0245e46801e17c671b80bc08a /apps/plugin.c
parent98096970e05108e723b64072f2b34187c92733de (diff)
downloadrockbox-589879bb3d95a1bd84011307a2c2cc934654456c.zip
rockbox-589879bb3d95a1bd84011307a2c2cc934654456c.tar.gz
rockbox-589879bb3d95a1bd84011307a2c2cc934654456c.tar.bz2
rockbox-589879bb3d95a1bd84011307a2c2cc934654456c.tar.xz
Plugin API/ABI got incompatible r30242. Bump and sort.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30243 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.c')
-rw-r--r--apps/plugin.c25
1 files changed, 12 insertions, 13 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index b47dd95..c12a996 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -572,8 +572,19 @@ static const struct plugin_api rockbox_api = {
dsp_process,
dsp_input_count,
dsp_output_count,
-#endif /* CONFIG_CODEC == SWCODEC */
+ mixer_channel_status,
+ mixer_channel_get_buffer,
+ mixer_channel_calculate_peaks,
+ mixer_channel_play_data,
+ mixer_channel_play_pause,
+ mixer_channel_stop,
+ mixer_channel_set_amplitude,
+ mixer_channel_get_bytes_waiting,
+
+ system_sound_play,
+ keyclick_click,
+#endif
/* playback control */
playlist_amount,
playlist_resume,
@@ -778,18 +789,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_channel_status,
- mixer_channel_get_buffer,
- mixer_channel_calculate_peaks,
- mixer_channel_play_data,
- mixer_channel_play_pause,
- mixer_channel_stop,
- mixer_channel_set_amplitude,
- mixer_channel_get_bytes_waiting,
- system_sound_play,
- keyclick_click,
-#endif
};
int plugin_load(const char* plugin, const void* parameter)