diff options
author | Brandon Low <lostlogic@rockbox.org> | 2006-03-27 14:46:15 +0000 |
---|---|---|
committer | Brandon Low <lostlogic@rockbox.org> | 2006-03-27 14:46:15 +0000 |
commit | 5c950f438097359991bdc76d7d6b0fac05c7f967 (patch) | |
tree | fad0c2c5d85a802b766dcfa1ac9cce29a27e63c2 /firmware | |
parent | 0468064c28a79a05a0823651dbddcf7959f598fb (diff) |
Reduce the appearance of volume change clicks by using the wmcodec's zero-cross detect feature
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9290 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/drivers/wm8758.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/drivers/wm8758.c b/firmware/drivers/wm8758.c index 893b6e7c10..f3310f3ed6 100644 --- a/firmware/drivers/wm8758.c +++ b/firmware/drivers/wm8758.c @@ -145,8 +145,8 @@ void wmcodec_enable_output(bool enable) int wmcodec_set_master_vol(int vol_l, int vol_r) { /* OUT1 */ - wm8758_write(LOUT1VOL, vol_l); - wm8758_write(ROUT1VOL, 0x100 | vol_r); + wm8758_write(LOUT1VOL, 0x080 | vol_l); + wm8758_write(ROUT1VOL, 0x180 | vol_r); return 0; } |