Tools: Topology2: Change gain default curve type to linear

This change can drop in TGL platform 2ch 48 kHz gain component
peak load e.g. from 16.7 to 7.09 MCPS CPU_PEAK(MAX) reported by
sof_perf_analyzer.py. The peak varies a bit time. If several
gain instances ramp simulatenously in stream start, the peak
MCPS consumption could be source for xruns and glitches if overall
load is high.

The change with linear curve is barely audible. The
computationally heavier Windows fade exponential curve is required
only with Windows OS. Since Windows is not using ALSA topologies
this change does not impact it.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
This commit is contained in:
Seppo Ingalsuo 2023-10-13 14:29:43 +03:00 committed by Liam Girdwood
parent aeb83eccc4
commit 9aadd197ab
1 changed files with 1 additions and 1 deletions

View File

@ -159,7 +159,7 @@ Class.Widget."gain" {
uuid "A8:A9:BC:61:D0:18:18:4A:8E:7B:26:39:21:98:04:B7"
no_pm "true"
cpc 10183
curve_type "windows_fade"
curve_type "linear"
curve_duration 200000 # 20 ms
init_value 0x7fffffff
num_input_pins 1