mirror of https://github.com/thesofproject/sof.git
topology2: gain: Fix curve_type
log and linear are not supported with IPC4. Use no_fade and fade instead and set the default to fade. This should fix the following error seen with volume prepare(): volume: comp:9 0x60003 volume_prepare(): invalid cd->ramp_func Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
This commit is contained in:
parent
8083eb0156
commit
1ea364620f
|
@ -54,8 +54,8 @@ Class.Widget."gain" {
|
|||
token_ref "sof_tkn_gain.word"
|
||||
constraints {
|
||||
!valid_values [
|
||||
"linear"
|
||||
"log"
|
||||
"no_fade"
|
||||
"fade"
|
||||
]
|
||||
!tuple_values [
|
||||
0
|
||||
|
@ -158,7 +158,7 @@ Class.Widget."gain" {
|
|||
no_pm "true"
|
||||
period_sink_count 2
|
||||
period_source_count 2
|
||||
curve_type "linear"
|
||||
curve_type "fade"
|
||||
curve_duration 10
|
||||
init_value 0x7fffffff
|
||||
num_sink_pins 1
|
||||
|
|
Loading…
Reference in New Issue