Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions tools/topology/topology2/include/common/tokens.conf
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ Object.Base.VendorToken {
curve_type 260
curve_duration 261
init_value 262
no_wname_in_kcontrol_name 263
}

"6" {
Expand Down
1 change: 1 addition & 0 deletions tools/topology/topology2/include/components/eqiir.conf
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,5 @@ Class.Widget."eqiir" {
no_pm "true"
num_input_pins 1
num_output_pins 1
no_wname_in_kcontrol_name "true"
}
13 changes: 13 additions & 0 deletions tools/topology/topology2/include/components/gain.conf
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,18 @@ Class.Widget."gain" {
token_ref "gain.word"
}

DefineAttribute."no_wname_in_kcontrol_name" {
type "string"
# Token set reference name
token_ref "gain.bool"
constraints {
!valid_values [
"true"
"false"
]
}
}

# Attribute categories
attributes {
#
Expand Down Expand Up @@ -156,4 +168,5 @@ Class.Widget."gain" {
init_value 0x7fffffff
num_input_pins 1
num_output_pins 1
no_wname_in_kcontrol_name "true"
}