Tools: Tune: Fix mistake in EQ blob plot function

The case where blob decoding is requested for single frequency,
e.g. 1 kHz the magnitude and group delay vectors did not have
size of one frequency. This patch fixes the issue.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
This commit is contained in:
Seppo Ingalsuo 2020-04-23 19:47:49 +03:00 committed by Liam Girdwood
parent 0f878a7312
commit 3e7edf4e02
1 changed files with 2 additions and 1 deletions

View File

@ -114,8 +114,9 @@ end
%% Trim avay the duplicated frequency point
if f_single
eq.f = eq.f(1);
eq.m = eq.m(1, :);
if do_group_delay
eq.gd = eq.gd(1);
eq.gd = eq.gd(1, :);
end
end