From 663c0188dc139c800d9054d4aef07d620101a27f Mon Sep 17 00:00:00 2001 From: funman Date: Wed, 5 May 2010 15:38:56 +0000 Subject: [PATCH] as3525v2: don't modify audioset2 as it seems the bits have changed restore loud volume on Clip+ git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25831 a1c6a512-1295-4272-9138-f99709370657 --- firmware/drivers/audio/as3514.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/firmware/drivers/audio/as3514.c b/firmware/drivers/audio/as3514.c index c161cd69d..f9e5fd333 100644 --- a/firmware/drivers/audio/as3514.c +++ b/firmware/drivers/audio/as3514.c @@ -173,11 +173,13 @@ void audiohw_preinit(void) /* Turn on SUM, DAC */ as3514_write(AS3514_AUDIOSET1, AUDIOSET1_DAC_on | AUDIOSET1_SUM_on); +#ifndef HAVE_AS3543 /* Set BIAS on, DITH off, AGC off, IBR_DAC max reduction, LSP_LP on, IBR_LSP max reduction (50%), taken from c200v2 OF */ as3514_write(AS3514_AUDIOSET2, AUDIOSET2_IBR_LSP_50 | AUDIOSET2_LSP_LP | - AUDIOSET2_IBR_DAC_50 | AUDIOSET2_AGC_off |AUDIOSET2_DITH_off ); + AUDIOSET2_IBR_DAC_50 | AUDIOSET2_AGC_off | AUDIOSET2_DITH_off ); +#endif /* AMS Sansas based on the AS3525 need HPCM enabled, otherwise they output the L-R signal on both L and R headphone outputs instead of normal stereo. -- 2.11.4.GIT