forked from thesofproject/sof
-
Notifications
You must be signed in to change notification settings - Fork 0
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 sof-hda-benchmark-multiband_drc16/24/32-tgl build
This patch adds the multiband-DRC test topologies build. Signed-off-by: Seppo Ingalsuo <[email protected]>
- Loading branch information
Showing
8 changed files
with
109 additions
and
0 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
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
16 changes: 16 additions & 0 deletions
16
tools/topology/topology2/include/bench/multiband_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,16 @@ | ||
# Created initially with script "./bench_comp_generate.sh multiband_drc" | ||
# may need edits to modify controls | ||
Object.Control { | ||
bytes."1" { | ||
name '$ANALOG_CAPTURE_PCM MULTIBAND_DRC bytes' | ||
IncludeByKey.BENCH_DRC_MULTIBAND_PARAMS { | ||
"default" "include/components/multiband_drc/default.conf" | ||
} | ||
} | ||
mixer."1" { | ||
name '$ANALOG_CAPTURE_PCM MULTIBAND_DRC enable' | ||
} | ||
#enum."1" { | ||
# name '$ANALOG_CAPTURE_PCM MULTIBAND_DRC enum' | ||
#} | ||
} |
16 changes: 16 additions & 0 deletions
16
tools/topology/topology2/include/bench/multiband_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,16 @@ | ||
# Created initially with script "./bench_comp_generate.sh multiband_drc" | ||
# may need edits to modify controls | ||
Object.Control { | ||
bytes."1" { | ||
name '$ANALOG_PLAYBACK_PCM MULTIBAND_DRC bytes' | ||
IncludeByKey.BENCH_DRC_MULTIBAND_PARAMS { | ||
"default" "include/components/multiband_drc/default.conf" | ||
} | ||
} | ||
mixer."1" { | ||
name '$ANALOG_PLAYBACK_PCM MULTIBAND_DRC enable' | ||
} | ||
#enum."1" { | ||
# name '$ANALOG_PLAYBACK_PCM MULTIBAND_DRC enum' | ||
#} | ||
} |
19 changes: 19 additions & 0 deletions
19
tools/topology/topology2/include/bench/multiband_drc_hda_route.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 with script "./bench_comp_generate.sh multiband_drc" | ||
Object.Base.route [ | ||
{ | ||
sink 'dai-copier.HDA.$HDA_ANALOG_DAI_NAME.playback' | ||
source 'multiband_drc.1.1' | ||
} | ||
{ | ||
sink 'multiband_drc.1.1' | ||
source 'host-copier.0.playback' | ||
} | ||
{ | ||
source 'dai-copier.HDA.$HDA_ANALOG_DAI_NAME.capture' | ||
sink 'multiband_drc.3.2' | ||
} | ||
{ | ||
source 'multiband_drc.3.2' | ||
sink 'host-copier.0.capture' | ||
} | ||
] |
13 changes: 13 additions & 0 deletions
13
tools/topology/topology2/include/bench/multiband_drc_s16.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,13 @@ | ||
# Created with script "./bench_comp_generate.sh multiband_drc" | ||
Object.Widget.multiband_drc.1 { | ||
index 1 | ||
<include/bench/one_input_output_format_s16.conf> | ||
<include/bench/multiband_drc_controls_playback.conf> | ||
} | ||
Object.Widget.multiband_drc.2 { | ||
index 3 | ||
<include/bench/one_input_output_format_s16.conf> | ||
<include/bench/multiband_drc_controls_capture.conf> | ||
} | ||
<include/bench/host_io_gateway_pipelines_s16.conf> | ||
<include/bench/multiband_drc_hda_route.conf> |
13 changes: 13 additions & 0 deletions
13
tools/topology/topology2/include/bench/multiband_drc_s24.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,13 @@ | ||
# Created with script "./bench_comp_generate.sh multiband_drc" | ||
Object.Widget.multiband_drc.1 { | ||
index 1 | ||
<include/bench/one_input_output_format_s24.conf> | ||
<include/bench/multiband_drc_controls_playback.conf> | ||
} | ||
Object.Widget.multiband_drc.2 { | ||
index 3 | ||
<include/bench/one_input_output_format_s24.conf> | ||
<include/bench/multiband_drc_controls_capture.conf> | ||
} | ||
<include/bench/host_io_gateway_pipelines_s24.conf> | ||
<include/bench/multiband_drc_hda_route.conf> |
13 changes: 13 additions & 0 deletions
13
tools/topology/topology2/include/bench/multiband_drc_s32.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,13 @@ | ||
# Created with script "./bench_comp_generate.sh multiband_drc" | ||
Object.Widget.multiband_drc.1 { | ||
index 1 | ||
<include/bench/one_input_output_format_s32.conf> | ||
<include/bench/multiband_drc_controls_playback.conf> | ||
} | ||
Object.Widget.multiband_drc.2 { | ||
index 3 | ||
<include/bench/one_input_output_format_s32.conf> | ||
<include/bench/multiband_drc_controls_capture.conf> | ||
} | ||
<include/bench/host_io_gateway_pipelines_s32.conf> | ||
<include/bench/multiband_drc_hda_route.conf> |