summaryrefslogtreecommitdiff
authorZhe Wang <zhe.wang@amlogic.com>2017-01-04 08:40:23 (GMT)
committer Zhe Wang <zhe.wang@amlogic.com>2017-02-24 06:38:51 (GMT)
commit9e7053a6090e74b9d4b442fcdaba127366b279e4 (patch)
tree4f3232492d5db48a62278cd2db37e176acdcf647
parent25307a486363d148af90fa271c850f2d78c659d9 (diff)
downloadaudio-9e7053a6090e74b9d4b442fcdaba127366b279e4.zip
audio-9e7053a6090e74b9d4b442fcdaba127366b279e4.tar.gz
audio-9e7053a6090e74b9d4b442fcdaba127366b279e4.tar.bz2
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 <zhe.wang@amlogic.com>
Diffstat
-rw-r--r--[-rwxr-xr-x]libTVaudio/audio/aml_audio.c4
1 files changed, 2 insertions, 2 deletions
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;