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>
This commit is contained in:
Dmitry Gamza 2013-04-09 10:01:49 +04:00 committed by Björn Stenberg
parent ea9621c018
commit 7e85fe5be1
1 changed files with 2 additions and 2 deletions

View File

@ -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,