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: Add topology for testing SOF plugin
The topology uses passthrough pipelines for playback/capture and supports only 48k, 2ch, 16bit format for now. Signed-off-by: Ranjani Sridharan <[email protected]>
- Loading branch information
Showing
3 changed files
with
178 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,170 @@ | ||
<searchdir:include> | ||
<searchdir:include/common> | ||
<searchdir:include/components> | ||
<searchdir:include/dais> | ||
<searchdir:include/pipelines/cavs> | ||
<searchdir:platform> | ||
<searchdir:platform/intel> | ||
|
||
<vendor-token.conf> | ||
<manifest.conf> | ||
<tokens.conf> | ||
<host-gateway-capture.conf> | ||
<host-gateway-playback.conf> | ||
<io-gateway-capture.conf> | ||
<io-gateway.conf> | ||
<data.conf> | ||
<pcm.conf> | ||
<pcm_caps.conf> | ||
<fe_dai.conf> | ||
<ssp.conf> | ||
<route.conf> | ||
<intel/common_definitions.conf> | ||
<dai-copier.conf> | ||
<module-copier.conf> | ||
<pipeline.conf> | ||
<input_audio_format.conf> | ||
<output_audio_format.conf> | ||
|
||
Object.Pipeline.io-gateway-capture [ | ||
{ | ||
index 10 | ||
direction capture | ||
|
||
Object.Widget.dai-copier."1" { | ||
dai_index 1 | ||
dai_type "SSP" | ||
type dai_out | ||
copier_type "SSP" | ||
stream_name "NoCodec-1" | ||
node_type $I2S_LINK_INPUT_CLASS | ||
|
||
num_input_audio_formats 1 | ||
Object.Base.input_audio_format [ | ||
{ | ||
in_bit_depth 16 | ||
in_valid_bit_depth 16 | ||
} | ||
] | ||
num_output_audio_formats 1 | ||
Object.Base.output_audio_format [ | ||
{ | ||
out_bit_depth 16 | ||
out_valid_bit_depth 16 | ||
} | ||
] | ||
} | ||
} | ||
] | ||
|
||
Object.Pipeline.host-gateway-capture [ | ||
{ | ||
index 9 | ||
|
||
Object.Widget.host-copier.1 { | ||
stream_name 'SSP1 Capture' | ||
pcm_id 1 | ||
num_input_audio_formats 1 | ||
Object.Base.input_audio_format [ | ||
{ | ||
in_bit_depth 16 | ||
in_valid_bit_depth 16 | ||
} | ||
] | ||
num_output_audio_formats 1 | ||
Object.Base.output_audio_format [ | ||
{ | ||
out_bit_depth 16 | ||
out_valid_bit_depth 16 | ||
} | ||
] | ||
} | ||
} | ||
] | ||
|
||
Object.Pipeline.io-gateway [ | ||
{ | ||
index 4 | ||
direction playback | ||
|
||
Object.Widget.dai-copier.1 { | ||
dai_index 1 | ||
dai_type "SSP" | ||
copier_type "SSP" | ||
stream_name "NoCodec-1" | ||
node_type $I2S_LINK_OUTPUT_CLASS | ||
num_input_audio_formats 1 | ||
Object.Base.input_audio_format [ | ||
{ | ||
in_bit_depth 16 | ||
in_valid_bit_depth 16 | ||
} | ||
] | ||
num_output_audio_formats 1 | ||
Object.Base.output_audio_format [ | ||
{ | ||
out_bit_depth 16 | ||
out_valid_bit_depth 16 | ||
} | ||
] | ||
} | ||
} | ||
] | ||
Object.Pipeline.host-gateway-playback [ | ||
{ | ||
index 3 | ||
Object.Widget.host-copier.1 { | ||
stream_name 'SSP1 Playback' | ||
pcm_id 1 | ||
num_input_audio_formats 1 | ||
Object.Base.input_audio_format [ | ||
{ | ||
in_bit_depth 16 | ||
in_valid_bit_depth 16 | ||
} | ||
] | ||
num_output_audio_formats 1 | ||
Object.Base.output_audio_format [ | ||
{ | ||
out_bit_depth 16 | ||
out_valid_bit_depth 16 | ||
} | ||
] | ||
} | ||
} | ||
] | ||
|
||
Object.PCM.pcm [ | ||
{ | ||
name "PluginPCM" | ||
id 1 | ||
direction "duplex" | ||
Object.Base.fe_dai.1 { | ||
name "PluginPlayback" | ||
} | ||
|
||
Object.PCM.pcm_caps.1 { | ||
direction "playback" | ||
name "SSP1 Playback" | ||
formats 'S16_LE' | ||
} | ||
|
||
Object.PCM.pcm_caps.2 { | ||
direction "capture" | ||
name "SSP1 Capture" | ||
formats 'S16_LE' | ||
} | ||
} | ||
] | ||
|
||
|
||
Object.Base.route [ | ||
{ | ||
source "host-copier.1.playback" | ||
sink "dai-copier.SSP.NoCodec-1.playback" | ||
} | ||
{ | ||
source "dai-copier.SSP.NoCodec-1.capture" | ||
sink "host-copier.1.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