[SKIP CI] Tools: Tune: SRC: Add missing gain to generate scripts

Patch a0ff2bb277 added field .gain to configuration data for
src_generate() but the previous generator scripts were not
updated to set it. This patch fixes in them the error about
undefined gain by setting it to previous -1 dB default.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
This commit is contained in:
Seppo Ingalsuo 2022-07-26 14:59:28 +03:00 committed by Liam Girdwood
parent 978827f7fc
commit b0336346f7
3 changed files with 3 additions and 0 deletions

View File

@ -22,5 +22,6 @@ cfg.ctype = 'int32';
cfg.profile = 'small';
cfg.quality = 1.0;
cfg.speed = 0;
cfg.gain = -1; % Make gain -1 dB
src_generate(fs1, fs2, fs_matrix, cfg);

View File

@ -51,5 +51,6 @@ cfg.ctype = 'int32';
cfg.profile = 'std';
cfg.quality = 1.0;
cfg.speed = 0;
cfg.gain = -1; % Make gain -1 dB
src_generate(fs1, fs2, fs_matrix, cfg);

View File

@ -42,5 +42,6 @@ cfg.ctype = 'int16';
cfg.profile = 'tiny';
cfg.quality = 0.40;
cfg.speed = 1;
cfg.gain = -1; % Make gain -1 dB
src_generate(fs1, fs2, fsm, cfg);