From c27ea297a35b555b93a5e2be66297c1ba6cdbed4 Mon Sep 17 00:00:00 2001 From: Michael Giacomelli Date: Sun, 24 Jul 2011 21:56:24 +0000 Subject: Commit FS#12111 by Stephan Grossklass. Disables output mixer auto gain control on AMSv2. Should fix occasional distortion reported when running the player at very high output levels (e.g. at or above 0dB). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30208 a1c6a512-1295-4272-9138-f99709370657 --- firmware/drivers/audio/as3514.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware/drivers/audio/as3514.c') diff --git a/firmware/drivers/audio/as3514.c b/firmware/drivers/audio/as3514.c index 1774932c51..64531cfc2b 100644 --- a/firmware/drivers/audio/as3514.c +++ b/firmware/drivers/audio/as3514.c @@ -151,7 +151,7 @@ void audiohw_preinit(void) #ifdef HAVE_AS3543 as3514_write(AS3514_AUDIOSET1, AUDIOSET1_DAC_on | AUDIOSET1_DAC_GAIN_on); - as3514_write(AS3514_AUDIOSET2, AUDIOSET2_HPH_QUALITY_LOW_POWER); + as3514_write(AS3514_AUDIOSET2, AUDIOSET2_AGC_off | AUDIOSET2_HPH_QUALITY_LOW_POWER); /* common ground on, delay playback unmuting when inserting headphones */ as3514_write(AS3514_AUDIOSET3, AUDIOSET3_HPCM_on | AUDIOSET3_HP_LONGSTART); -- cgit v1.2.3