Skip to content

Commit 1db74bb

Browse files
singalsukv2019i
authored andcommitted
Audio: EQIIR: Tune: Drop TLV header from exported C header
Need to drop the TLV header (used for Linux kernel bytes control) from data to keep the existing format after the header was added to sof-ctl generated data header. This header is not passed to firmware, only the kernel that this usage of filter coefficients passes, is using it. Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com> (cherry picked from commit a3450ba)
1 parent 5bd2b3d commit 1db74bb

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/audio/eq_iir/tune/sof_export_c_eq_uint32t.m

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ function sof_export_c_eq_uint32t(fn, blob8, vn, justeq)
2828
fprintf(fh, '\n');
2929
fprintf(fh, '#include <stdint.h>\n\n');
3030

31+
% Drop 8 bytes TLV header
32+
blob8 = blob8(9:end);
33+
3134
% Pad blob length to multiple of four bytes
3235
n_orig = length(blob8);
3336
n_new = ceil(n_orig/4);

0 commit comments

Comments
 (0)