Skip to content

Commit

Permalink
Tools: Tune: DRC: Add information how to create topology blobs
Browse files Browse the repository at this point in the history
This patch updates the generator script example_drc.m with added
information how the blobs were created.

Signed-off-by: Seppo Ingalsuo <[email protected]>
  • Loading branch information
singalsu committed Dec 18, 2023
1 parent 597cb26 commit 0bda87f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tools/tune/drc/example_drc.m
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,11 @@ function drc_coefs_and_config_export(params, id)
blob8_ipc4 = drc_build_blob(config, endian, 4);

% Generate output files
tplg_write(tplg1_fn, blob8, "DRC");
tplg2_write(tplg2_fn, blob8_ipc4, "drc_config", 'Exported Control Bytes');
my_name = mfilename();
drc_note = sprintf("Exported with script %s.m", my_name);
drc_howto = sprintf("cd tools/tune/drc; octave --no-window-system %s.m", my_name);
tplg_write(tplg1_fn, blob8, "DRC", drc_note, drc_howto);
tplg2_write(tplg2_fn, blob8_ipc4, "drc_config", drc_note, drc_howto);
blob_write(blob3_fn, blob8);
alsactl_write(alsa3_fn, blob8);
blob_write(blob4_fn, blob8_ipc4);
Expand Down

0 comments on commit 0bda87f

Please sign in to comment.