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.
Topology2: cavs-rt5682: use passthrough
For test only Signed-off-by: Bard Liao <[email protected]>
- Loading branch information
Showing
4 changed files
with
93 additions
and
111 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
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
65 changes: 65 additions & 0 deletions
65
tools/topology/topology2/include/pipelines/cavs/io-gateway-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,65 @@ | ||
# | ||
# BE DAI passthrough pipeline for playback | ||
# | ||
# All attributes defined herein are namespaced by alsatplg to | ||
# "Object.Pipeline.passthrough-be-playback.N.attribute_name" | ||
# | ||
# Usage: io-gateway-playback pipeline object can be instantiated as: | ||
# | ||
# Object.Pipeline.io-gateway-playback."N" { | ||
# direction "playback" | ||
# period 1000 | ||
# time_domain "timer" | ||
# } | ||
# | ||
# Where N is the unique pipeline ID within the same alsaconf node. | ||
# | ||
|
||
<include/common/input_audio_format.conf> | ||
<include/common/output_audio_format.conf> | ||
<include/components/dai-copier.conf> | ||
<include/components/pipeline.conf> | ||
|
||
Class.Pipeline."io-gateway-playback" { | ||
|
||
<include/pipelines/pipeline-common.conf> | ||
|
||
attributes { | ||
!constructor [ | ||
"index" | ||
] | ||
|
||
unique "instance" | ||
} | ||
|
||
Object.Widget { | ||
dai-copier."1" { | ||
type dai_in | ||
num_input_audio_formats 1 | ||
num_output_audio_formats 1 | ||
num_output_pins 1 | ||
|
||
Object.Base.input_audio_format [ | ||
{ | ||
in_bit_depth 32 | ||
in_valid_bit_depth 32 | ||
} | ||
] | ||
Object.Base.output_audio_format [ | ||
{ | ||
out_bit_depth 32 | ||
out_valid_bit_depth 32 | ||
} | ||
] | ||
} | ||
|
||
pipeline."1" { | ||
priority 0 | ||
lp_mode 0 | ||
} | ||
} | ||
|
||
time_domain "timer" | ||
direction "playback" | ||
dynamic_pipeline 1 | ||
} |