mirror of https://github.com/thesofproject/sof.git
[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:
parent
978827f7fc
commit
b0336346f7
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue