audio: fixed regression of TV-8378 [1/1]

PD#SWPL-13063

Problem:
dd/ddp/dts isn't decoded when window swithing

Solution:
fixed regression of TV-8378

Verify:
X301 T972

Change-Id: Id85dde4b06af9ae9609a5ed269d884fa8500044b
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>
This commit is contained in:
Zhe Wang
2019-08-22 10:54:46 +08:00
committed by Luke Go
parent b9da9b6590
commit 459ff4ab1e

View File

@@ -263,7 +263,7 @@ int resample_set(enum resample_idx id, enum samplerate_index index)
auge_resample_texts[p_resample->asrc_in_sr_idx]);
resample_rate = resample_idx2rate(index);
ret = audio_resample_set(p_resample, (bool)index, resample_rate);
ret = audio_resample_set(p_resample, index, resample_rate);
if (ret)
return ret;