Tools: Tune: SRC: Change the SRC gain to 0 dB

This change aligns the gains in all other conversions sets
with IPC4 that already has the same setting. The max gain of a
converter is 0 dB. It also avoids the issue of 1 dB lower gain
in 2-stage vs. 1-stage conversions.

This changes only the generate scripts. The coefficients need a
separate patch.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
This commit is contained in:
Seppo Ingalsuo 2022-11-14 15:54:25 +02:00 committed by Liam Girdwood
parent 40f78a9325
commit 4d35480c64
3 changed files with 3 additions and 3 deletions

View File

@ -23,6 +23,6 @@ cfg.profile = 'small';
cfg.quality = 1.0;
cfg.thdn = -90;
cfg.speed = 0;
cfg.gain = -1; % Make gain -1 dB
cfg.gain = 0;
src_generate(fs1, fs2, fs_matrix, cfg);

View File

@ -52,6 +52,6 @@ cfg.profile = 'std';
cfg.quality = 1.0;
cfg.thdn = -90;
cfg.speed = 0;
cfg.gain = -1; % Make gain -1 dB
cfg.gain = 0;
src_generate(fs1, fs2, fs_matrix, cfg);

View File

@ -43,6 +43,6 @@ cfg.profile = 'tiny';
cfg.quality = 0.40;
cfg.thdn = -90;
cfg.speed = 1;
cfg.gain = -1; % Make gain -1 dB
cfg.gain = 0;
src_generate(fs1, fs2, fsm, cfg);