audio: vsp-0.95 abnormal waveform. [1/1]
PD#SWPL-198609
Problem:
scale_tempo parameters error.
Solution:
revert partial modifications.
https://scgit.amlogic.com/482163
Verify:
t5w.
Change-Id: I89ee0c26477445a8db215a7665905b59a843ba7d
Signed-off-by: dongyang.zhang <dongyang.zhang@amlogic.com>
(cherry picked from commit 65b8c70441dbe533f80e37ab59d9963125ecfc00)
diff --git a/audio_hal/aml_audio_scaletempo.c b/audio_hal/aml_audio_scaletempo.c
index edd8972..c1ec4e8 100644
--- a/audio_hal/aml_audio_scaletempo.c
+++ b/audio_hal/aml_audio_scaletempo.c
@@ -530,7 +530,7 @@
/* defaults */
st->ms_stride = 16;
st->percent_overlap = 0.5;
- st->ms_search = 3;
+ st->ms_search = 6;
/* cleanup buffer */
@@ -634,7 +634,7 @@
/* defaults */
st->ms_stride = 16;//ms
st->percent_overlap = 0.5;
- st->ms_search = 3;//ms
+ st->ms_search = 6;//ms
/* uninitialized */
st->scale = 1.0;