-
Notifications
You must be signed in to change notification settings - Fork 318
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tools: Topology2: Add switch control to topologies with DRC
The mixer control for switch is added to widget definition of drc.conf. In cavs-mixin-mixout-efx-hda.conf the existing control name is changed to have "bytes" similarly as multiband-drc has. The switch control is added for the widget to implement the switch. The controls definitions files in benchmark topologies are replaced to new format from current .conf generator script. The bytes control is same as before, and the mixer control for switch is added. Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
- Loading branch information
Showing
9 changed files
with
71 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 0 additions & 10 deletions
10
tools/topology/topology2/include/bench/drc_control_bytes_capture.conf
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
tools/topology/topology2/include/bench/drc_control_bytes_playback.conf
This file was deleted.
Oops, something went wrong.
19 changes: 19 additions & 0 deletions
19
tools/topology/topology2/include/bench/drc_controls_capture.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Created initially with script "./bench_comp_generate.sh drc" | ||
# may need edits to modify controls | ||
Object.Control { | ||
# Un-comment the supported controls in DRC | ||
bytes."1" { | ||
name '$ANALOG_CAPTURE_PCM DRC bytes' | ||
IncludeByKey.BENCH_DRC_PARAMS { | ||
"default" "include/components/drc/default.conf" | ||
"enabled" "include/components/drc/enabled.conf" | ||
"passthrough" "include/components/drc/passthrough.conf" | ||
} | ||
} | ||
mixer."1" { | ||
name '$ANALOG_CAPTURE_PCM DRC switch' | ||
} | ||
#enum."1" { | ||
# name '$ANALOG_CAPTURE_PCM DRC enum' | ||
#} | ||
} |
19 changes: 19 additions & 0 deletions
19
tools/topology/topology2/include/bench/drc_controls_playback.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Created initially with script "./bench_comp_generate.sh drc" | ||
# may need edits to modify controls | ||
Object.Control { | ||
# Un-comment the supported controls in DRC | ||
bytes."1" { | ||
name '$ANALOG_PLAYBACK_PCM DRC bytes' | ||
IncludeByKey.BENCH_DRC_PARAMS { | ||
"default" "include/components/drc/default.conf" | ||
"enabled" "include/components/drc/enabled.conf" | ||
"passthrough" "include/components/drc/passthrough.conf" | ||
} | ||
} | ||
mixer."1" { | ||
name '$ANALOG_PLAYBACK_PCM DRC switch' | ||
} | ||
#enum."1" { | ||
# name '$ANALOG_PLAYBACK_PCM DRC enum' | ||
#} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters