diff options
author | Dmitry Gamza <gamzad@yahoo.com> | 2013-04-09 10:01:49 +0400 |
---|---|---|
committer | Björn Stenberg <bjorn@haxx.se> | 2014-03-18 14:12:06 +0100 |
commit | 7e85fe5be1a157e8323bbc80da15f271da8eccac (patch) | |
tree | 9ad0098d773cbe2d9c185b344a9c46f63ce422b0 /firmware | |
parent | ea9621c0183cb66ae8869e41762b2de113b49b56 (diff) | |
download | rockbox-7e85fe5be1a157e8323bbc80da15f271da8eccac.tar.gz rockbox-7e85fe5be1a157e8323bbc80da15f271da8eccac.zip |
some optimization for iriver h100 and h300 series
Turn on 4x oversampling inside UDA1380 codec.
This allow will move the quantization noise to the higher frequencies,
that slightly improve the final sound quality.
Change-Id: Idf79cd877c526d8937a47c34e9c180d837a15db1
Reviewed-on: http://gerrit.rockbox.org/435
Reviewed-by: Michael Giacomelli <giac2000@hotmail.com>
Reviewed-by: Björn Stenberg <bjorn@haxx.se>
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/drivers/audio/uda1380.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/drivers/audio/uda1380.c b/firmware/drivers/audio/uda1380.c index debe299322..2fe562f865 100644 --- a/firmware/drivers/audio/uda1380.c +++ b/firmware/drivers/audio/uda1380.c | |||
@@ -99,8 +99,8 @@ static const unsigned short uda1380_defaults[2*NUM_DEFAULT_REGS] = | |||
99 | /* Bass and treble = 0 dB */ | 99 | /* Bass and treble = 0 dB */ |
100 | REG_MUTE, MUTE_MASTER | MUTE_CH2, | 100 | REG_MUTE, MUTE_MASTER | MUTE_CH2, |
101 | /* Mute everything to start with */ | 101 | /* Mute everything to start with */ |
102 | REG_MIX_CTL, MIX_CTL_MIX, | 102 | REG_MIX_CTL, MIX_CTL_MIX | OVERSAMPLE_MODE(3), |
103 | /* Enable mixer */ | 103 | /* Enable mixer and 4x oversampling */ |
104 | REG_DEC_VOL, 0, | 104 | REG_DEC_VOL, 0, |
105 | REG_PGA, MUTE_ADC, | 105 | REG_PGA, MUTE_ADC, |
106 | REG_ADC, SKIP_DCFIL, | 106 | REG_ADC, SKIP_DCFIL, |