summaryrefslogtreecommitdiff
path: root/apps/settings_list.c
diff options
context:
space:
mode:
authorThom Johansen <thomj@rockbox.org>2007-03-07 19:11:16 +0000
committerThom Johansen <thomj@rockbox.org>2007-03-07 19:11:16 +0000
commit99b2742cd0de7181677f3aa7222caa5dc358ee12 (patch)
tree55c0cec293ca3fb1c35dc5fa983bb03bff54785d /apps/settings_list.c
parent09b97b4a21921f05d29d215e0d5cf7df4f83a472 (diff)
downloadrockbox-99b2742cd0de7181677f3aa7222caa5dc358ee12.tar.gz
rockbox-99b2742cd0de7181677f3aa7222caa5dc358ee12.zip
Use the new DSP callback functionality in firmware/sound.c to deal with SWCODEC stereo width and channel configuration instead of the old more spread out #ifdef based approach. Rename the DSP functions involved for more consistent naming.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12677 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/settings_list.c')
-rw-r--r--apps/settings_list.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/apps/settings_list.c b/apps/settings_list.c
index 6594db7aa3..e8ee59790d 100644
--- a/apps/settings_list.c
+++ b/apps/settings_list.c
@@ -352,11 +352,7 @@ const struct settings_list settings[] = {
352 352
353 CHOICE_SETTING(0,channel_config,LANG_CHANNEL,0,"channels", 353 CHOICE_SETTING(0,channel_config,LANG_CHANNEL,0,"channels",
354 "stereo,mono,custom,mono left,mono right,karaoke", 354 "stereo,mono,custom,mono left,mono right,karaoke",
355#if CONFIG_CODEC == SWCODEC
356 channels_set,
357#else
358 sound_set_channels, 355 sound_set_channels,
359#endif
360 6, ID2P(LANG_CHANNEL_STEREO), ID2P(LANG_CHANNEL_MONO), 356 6, ID2P(LANG_CHANNEL_STEREO), ID2P(LANG_CHANNEL_MONO),
361 ID2P(LANG_CHANNEL_CUSTOM), ID2P(LANG_CHANNEL_LEFT), 357 ID2P(LANG_CHANNEL_CUSTOM), ID2P(LANG_CHANNEL_LEFT),
362 ID2P(LANG_CHANNEL_RIGHT), ID2P(LANG_CHANNEL_KARAOKE)), 358 ID2P(LANG_CHANNEL_RIGHT), ID2P(LANG_CHANNEL_KARAOKE)),