summaryrefslogtreecommitdiff
path: root/apps/settings.c
diff options
context:
space:
mode:
authorDan Everton <dan@iocaine.org>2007-11-24 07:51:00 +0000
committerDan Everton <dan@iocaine.org>2007-11-24 07:51:00 +0000
commitd7e1f7714699fa201bda4f14ed38bfce10949d94 (patch)
tree594b7a18c82f9fcedc8cd8681bb5e8aa196e1bfd /apps/settings.c
parenta334bd2891d50fca3b073e2262d6b37ae624f1a0 (diff)
downloadrockbox-d7e1f7714699fa201bda4f14ed38bfce10949d94.zip
rockbox-d7e1f7714699fa201bda4f14ed38bfce10949d94.tar.gz
rockbox-d7e1f7714699fa201bda4f14ed38bfce10949d94.tar.bz2
rockbox-d7e1f7714699fa201bda4f14ed38bfce10949d94.tar.xz
Commit FS#7440. The iPod Video doesn't actually have a hardware equalizer. It does have hardware bass/treble settings with configurable cutoff. So make the bass/treble settings use the hardware and remove the hardware equalizer configuration.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15782 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/settings.c')
-rw-r--r--apps/settings.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/settings.c b/apps/settings.c
index 0b82ad4..6467a0e 100644
--- a/apps/settings.c
+++ b/apps/settings.c
@@ -648,6 +648,11 @@ void sound_settings_apply(void)
sound_set(SOUND_SUPERBASS, global_settings.superbass);
#endif
+#ifdef HAVE_WM8758
+ sound_set(SOUND_BASS_CUTOFF, global_settings.bass_cutoff);
+ sound_set(SOUND_TREBLE_CUTOFF, global_settings.treble_cutoff);
+#endif
+
#ifdef HAVE_USB_POWER
#if CONFIG_CHARGING
usb_charging_enable(global_settings.usb_charging);