summaryrefslogtreecommitdiffstats
path: root/firmware/sound.c
diff options
context:
space:
mode:
authorMichael Sparmann <theseven@rockbox.org>2011-01-06 23:26:43 +0000
committerMichael Sparmann <theseven@rockbox.org>2011-01-06 23:26:43 +0000
commitff4749b4b3b33275d73d5c86008c7ee5a2da7a5a (patch)
tree0af1cda1c1d59164b57c5d22327603263e59eba0 /firmware/sound.c
parentf35b76230cc6c172de6f489e2f6d17ec37a62ccb (diff)
downloadrockbox-ff4749b4b3b33275d73d5c86008c7ee5a2da7a5a.tar.gz
rockbox-ff4749b4b3b33275d73d5c86008c7ee5a2da7a5a.tar.bz2
rockbox-ff4749b4b3b33275d73d5c86008c7ee5a2da7a5a.zip
Fix volume control on iPod Classic
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28980 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/sound.c')
-rw-r--r--firmware/sound.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/firmware/sound.c b/firmware/sound.c
index f5adff6562..0eec4f8b5c 100644
--- a/firmware/sound.c
+++ b/firmware/sound.c
@@ -252,11 +252,12 @@ static void set_prescaled_volume(void)
#elif defined(HAVE_UDA1380) || defined(HAVE_WM8975) || defined(HAVE_WM8758) \
|| defined(HAVE_WM8711) || defined(HAVE_WM8721) || defined(HAVE_WM8731) \
|| defined(HAVE_WM8750) || defined(HAVE_WM8751) || defined(HAVE_AS3514) \
- || defined(HAVE_TSC2100) || defined(HAVE_AK4537) || defined(HAVE_UDA1341)
+ || defined(HAVE_TSC2100) || defined(HAVE_AK4537) || defined(HAVE_UDA1341) \
+ || defined(HAVE_CS42L55)
audiohw_set_master_vol(tenthdb2master(l), tenthdb2master(r));
#if defined(HAVE_WM8975) || defined(HAVE_WM8758) \
|| defined(HAVE_WM8750) || (defined(HAVE_WM8751) && !defined(MROBE_100)) \
- || defined(HAVE_WM8985)
+ || defined(HAVE_WM8985) || defined(HAVE_CS42L55)
audiohw_set_lineout_vol(tenthdb2master(0), tenthdb2master(0));
#endif