From 9e7053a6090e74b9d4b442fcdaba127366b279e4 Mon Sep 17 00:00:00 2001 From: Zhe Wang Date: Wed, 04 Jan 2017 08:40:23 +0000 Subject: PD#136766: close shelf filter HW resample cause audio freq Responds imperfection in HDMI source, we made a shelf filter to correct it, but shelf filter cause high signal distortion, close it. Change-Id: I52264b796e81c3cdca9165063a244a165d82dbc8 Signed-off-by: Zhe Wang --- diff --git a/libTVaudio/audio/aml_audio.c b/libTVaudio/audio/aml_audio.c index 473663d..fe5c32b 100755..100644 --- a/libTVaudio/audio/aml_audio.c +++ b/libTVaudio/audio/aml_audio.c @@ -749,7 +749,7 @@ static int alsa_in_read(struct aml_stream_in *in, void* buffer, size_t bytes) { else memset(buffer, 0, bytes); } - if (type_AUDIO_IN == 2 && GetOutputdevice() != 2) { + /*if (type_AUDIO_IN == 2 && GetOutputdevice() != 2) { short *ptr = buffer; short data; int i = 0; @@ -760,7 +760,7 @@ static int alsa_in_read(struct aml_stream_in *in, void* buffer, size_t bytes) { data = (short)audio_IIR_process((int)(*ptr), 1); *ptr++ = data; } - } + }*/ DoDumpData(buffer, bytes, CC_DUMP_SRC_TYPE_INPUT); output_size = bytes; -- cgit