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/drivers | |
| parent | ea9621c0183cb66ae8869e41762b2de113b49b56 (diff) | |
| download | rockbox-7e85fe5be1a157e8323bbc80da15f271da8eccac.zip rockbox-7e85fe5be1a157e8323bbc80da15f271da8eccac.tar.gz rockbox-7e85fe5be1a157e8323bbc80da15f271da8eccac.tar.bz2 rockbox-7e85fe5be1a157e8323bbc80da15f271da8eccac.tar.xz | |
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/drivers')
| -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 debe299..2fe562f 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] = /* Bass and treble = 0 dB */ REG_MUTE, MUTE_MASTER | MUTE_CH2, /* Mute everything to start with */ - REG_MIX_CTL, MIX_CTL_MIX, - /* Enable mixer */ + REG_MIX_CTL, MIX_CTL_MIX | OVERSAMPLE_MODE(3), + /* Enable mixer and 4x oversampling */ REG_DEC_VOL, 0, REG_PGA, MUTE_ADC, REG_ADC, SKIP_DCFIL, |