diff options
| author | Michael Giacomelli <giac2000@hotmail.com> | 2011-10-26 18:37:50 +0000 |
|---|---|---|
| committer | Michael Giacomelli <giac2000@hotmail.com> | 2011-10-26 18:37:50 +0000 |
| commit | b25cd7d892f2277dde2fa4d8fa9b14bfb5f6df13 (patch) | |
| tree | dd42ce0353341e8fcaf3300eefd7f1e2153a1eac /apps/dsp.c | |
| parent | 5d5177931ea6fafcc09b59ea356a89fcd7759756 (diff) | |
| download | rockbox-b25cd7d892f2277dde2fa4d8fa9b14bfb5f6df13.zip rockbox-b25cd7d892f2277dde2fa4d8fa9b14bfb5f6df13.tar.gz rockbox-b25cd7d892f2277dde2fa4d8fa9b14bfb5f6df13.tar.bz2 rockbox-b25cd7d892f2277dde2fa4d8fa9b14bfb5f6df13.tar.xz | |
Revert swap channel feature as we're presently in a feature freeze. I'll recommit after the release is branched.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30841 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/dsp.c')
| -rw-r--r-- | apps/dsp.c | 13 |
1 files changed, 0 insertions, 13 deletions
@@ -1175,18 +1175,6 @@ static void channels_process_sound_chan_karaoke(int count, int32_t *buf[]) } #endif /* DSP_HAVE_ASM_SOUND_CHAN_KARAOKE */ -static void channels_process_sound_chan_swap(int count, int32_t *buf[]) -{ - int32_t *sl = buf[0], *sr = buf[1]; - - while (count-- > 0) - { - int32_t ch = *sl; - *sl++ = *sr; - *sr++ = ch; - } -} - static void dsp_set_channel_config(int value) { static const channels_process_fn_type channels_process_functions[] = @@ -1198,7 +1186,6 @@ static void dsp_set_channel_config(int value) [SOUND_CHAN_MONO_LEFT] = channels_process_sound_chan_mono_left, [SOUND_CHAN_MONO_RIGHT] = channels_process_sound_chan_mono_right, [SOUND_CHAN_KARAOKE] = channels_process_sound_chan_karaoke, - [SOUND_CHAN_SWAP] = channels_process_sound_chan_swap, }; if ((unsigned)value >= ARRAYLEN(channels_process_functions) || |