mirror of https://github.com/thesofproject/sof.git
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:
parent
40f78a9325
commit
4d35480c64
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue