summaryrefslogtreecommitdiffstats
path: root/firmware/sound.c
diff options
context:
space:
mode:
authorMichael Sparmann <theseven@rockbox.org>2011-01-07 23:09:09 +0000
committerMichael Sparmann <theseven@rockbox.org>2011-01-07 23:09:09 +0000
commit9b5c95f557ee79bb98fae37535b745ed5e200931 (patch)
tree629a22934eccd8e781b79cd40291f5c5ee001246 /firmware/sound.c
parent0e773ad92cda7acf7753b60ba4c044e4887e8bcd (diff)
downloadrockbox-9b5c95f557ee79bb98fae37535b745ed5e200931.tar.gz
rockbox-9b5c95f557ee79bb98fae37535b745ed5e200931.tar.bz2
rockbox-9b5c95f557ee79bb98fae37535b745ed5e200931.zip
Fix CS42L55 (iPod Classic) tone control
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29002 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/sound.c')
-rw-r--r--firmware/sound.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/sound.c b/firmware/sound.c
index 0eec4f8b5c..de96360198 100644
--- a/firmware/sound.c
+++ b/firmware/sound.c
@@ -308,7 +308,7 @@ void sound_set_bass(int value)
return;
#if !defined(AUDIOHW_HAVE_CLIPPING)
-#if defined(HAVE_WM8750) || defined(HAVE_WM8751)
+#if defined(HAVE_WM8750) || defined(HAVE_WM8751) || defined(HAVE_CS42L55)
current_bass = value;
#else
current_bass = value * 10;
@@ -334,7 +334,7 @@ void sound_set_treble(int value)
return;
#if !defined(AUDIOHW_HAVE_CLIPPING)
-#if defined(HAVE_WM8750) || defined(HAVE_WM8751)
+#if defined(HAVE_WM8750) || defined(HAVE_WM8751) || defined(HAVE_CS42L55)
current_treble = value;
#else
current_treble = value * 10;