From ef62a508930c37c6d625512057273a1c85db73e2 Mon Sep 17 00:00:00 2001 From: Andrula Song Date: Mon, 31 Oct 2022 09:49:04 +0800 Subject: [PATCH] Cmocka: EQ: Fix the errors lead to eq-iir test failure Fix the mistakes in scripts which would lead to eq-iir test failure. Signed-off-by: Andrula Song --- tools/tune/eq/eq_blob_plot.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/tune/eq/eq_blob_plot.m b/tools/tune/eq/eq_blob_plot.m index 33f5a24ef..8affaf161 100644 --- a/tools/tune/eq/eq_blob_plot.m +++ b/tools/tune/eq/eq_blob_plot.m @@ -93,11 +93,11 @@ switch lower(eqtype) for i = 1:hd.channels_in_config decoded_eq = eq_iir_blob_decode(blob, hd.assign_response(i)); eq.b = decoded_eq.b; - eq.a = decodec_eq.a; + eq.a = decoded_eq.a; h = freqz(eq.b, eq.a, eq.f, fs); eq.m(:,i) = 20*log10(abs(h)); if do_group_delay - gd = grpdelay(teq.b, teq.a, eq.f, fs) / fs; + gd = grpdelay(eq.b, eq.a, eq.f, fs) / fs; eq.gd(:,i) = gd; end end