-
Notifications
You must be signed in to change notification settings - Fork 321
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Topology: Topology2: Add sof-hda-benchmark-asrc32/24/16-<platform>
This patch adds build of hda-generic development topologies to test ASRC component with s32/24/16 format. Signed-off-by: Andrula Song <[email protected]>
- Loading branch information
1 parent
d5b5c8e
commit 193dec2
Showing
7 changed files
with
101 additions
and
5 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
19 changes: 19 additions & 0 deletions
19
tools/topology/topology2/include/bench/asrc_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 asrc" | ||
Object.Base.route [ | ||
{ | ||
sink 'dai-copier.HDA.$HDA_ANALOG_DAI_NAME.playback' | ||
source 'asrc.1.1' | ||
} | ||
{ | ||
sink 'asrc.1.1' | ||
source 'host-copier.0.playback' | ||
} | ||
{ | ||
source 'dai-copier.HDA.$HDA_ANALOG_DAI_NAME.capture' | ||
sink 'asrc.3.2' | ||
} | ||
{ | ||
source 'asrc.3.2' | ||
sink 'host-copier.0.capture' | ||
} | ||
] |
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,17 @@ | ||
# Created with script "./bench_comp_generate.sh asrc" | ||
Object.Widget.asrc.1 { | ||
index 1 | ||
asynchronous_mode 0 | ||
operation_mode 0 | ||
rate_out 48000 | ||
<include/components/src_format_s16_convert_to_48k.conf> | ||
} | ||
Object.Widget.asrc.2 { | ||
index 3 | ||
rate_in 48000 | ||
asynchronous_mode 0 | ||
operation_mode 1 | ||
<include/components/src_format_s16_convert_from_48k.conf> | ||
} | ||
<include/bench/host_io_gateway_pipelines_src_s16.conf> | ||
<include/bench/asrc_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,17 @@ | ||
# Created with script "./bench_comp_generate.sh asrc" | ||
Object.Widget.asrc.1 { | ||
index 1 | ||
asynchronous_mode 0 | ||
operation_mode 0 | ||
rate_out 48000 | ||
<include/components/src_format_s24_convert_to_48k.conf> | ||
} | ||
Object.Widget.asrc.2 { | ||
index 3 | ||
asynchronous_mode 0 | ||
operation_mode 1 | ||
rate_in 48000 | ||
<include/components/src_format_s24_convert_from_48k.conf> | ||
} | ||
<include/bench/host_io_gateway_pipelines_src_s24.conf> | ||
<include/bench/asrc_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,17 @@ | ||
# Created with script "./bench_comp_generate.sh asrc" | ||
Object.Widget.asrc.1 { | ||
index 1 | ||
asynchronous_mode 0 | ||
operation_mode 0 | ||
rate_out 48000 | ||
<include/components/src_format_s32_convert_to_48k.conf> | ||
} | ||
Object.Widget.asrc.2 { | ||
index 3 | ||
asynchronous_mode 0 | ||
operation_mode 1 | ||
rate_in 48000 | ||
<include/components/src_format_s32_convert_from_48k.conf> | ||
} | ||
<include/bench/host_io_gateway_pipelines_src_s32.conf> | ||
<include/bench/asrc_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