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"
|
token_ref "sof_tkn_gain.word"
|
||||||
constraints {
|
constraints {
|
||||||
!valid_values [
|
!valid_values [
|
||||||
"linear"
|
"no_fade"
|
||||||
"log"
|
"fade"
|
||||||
]
|
]
|
||||||
!tuple_values [
|
!tuple_values [
|
||||||
0
|
0
|
||||||
|
@ -158,7 +158,7 @@ Class.Widget."gain" {
|
||||||
no_pm "true"
|
no_pm "true"
|
||||||
period_sink_count 2
|
period_sink_count 2
|
||||||
period_source_count 2
|
period_source_count 2
|
||||||
curve_type "linear"
|
curve_type "fade"
|
||||||
curve_duration 10
|
curve_duration 10
|
||||||
init_value 0x7fffffff
|
init_value 0x7fffffff
|
||||||
num_sink_pins 1
|
num_sink_pins 1
|
||||||
|
|
Loading…
Reference in New Issue