Skip to content

Conversation

@singalsu
Copy link
Collaborator

The main fix is for failure of full test of process_test() for EQ components. See commit texts for descriptions.

The sof-ctl blob format was changed to match the format needed
by ALSA UCM2 with added TVL header. The blobs for embedding to
topology are without it.

The run of "process_test('eqiir', 32, 32, 48000, 1, 1);" to run
full test for SOF IIR component failed to decoding of reference
frequency response from blob. The fail happens because the blob
decoding uses sof-ctl to generate the ABI header to help locate
the EQ blob from data.

As fix the sof_eq_blob_read() function is changed to add the
TLV header (just zeros) to tplg1 m4 format blob read.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
This change fixes usage of sof_eq_blob_plot() when called with
just blob file name. E.g. a FIR blob can be found from
tools/ctl/ipc4/eq_fir/loudness.txt. There's no underscore after
fir in the path to file.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
This fixes the warning message: "warning: findstr is obsolete;
use strfind instead".

Usage of the function stfind() is similar, so there are no
other changes needed.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
@singalsu singalsu marked this pull request as ready for review March 21, 2025 17:15
@singalsu singalsu requested review from kv2019i and lgirdwood March 21, 2025 17:58
@kv2019i kv2019i merged commit e60f262 into thesofproject:main Mar 26, 2025
45 of 49 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants