mirror of https://github.com/thesofproject/sof.git
219 lines
3.7 KiB
Plaintext
219 lines
3.7 KiB
Plaintext
<searchdir:include>
|
|
<searchdir:include/common>
|
|
<searchdir:include/components>
|
|
<searchdir:include/dais>
|
|
<searchdir:include/controls>
|
|
<searchdir:include/pipelines/cavs>
|
|
<searchdir:platform>
|
|
<searchdir:platform/intel>
|
|
|
|
<vendor-token.conf>
|
|
<tokens.conf>
|
|
<virtual.conf>
|
|
<src-gain-mixin-playback.conf>
|
|
<mixout-gain-alh-dai-copier-playback.conf>
|
|
<host-gateway-capture.conf>
|
|
<io-gateway-capture.conf>
|
|
<data.conf>
|
|
<pcm.conf>
|
|
<pcm_caps.conf>
|
|
<fe_dai.conf>
|
|
<alh.conf>
|
|
<hw_config_simple.conf>
|
|
<manifest.conf>
|
|
<route.conf>
|
|
<common_definitions.conf>
|
|
<dai-copier.conf>
|
|
<pipeline.conf>
|
|
<dai.conf>
|
|
<host.conf>
|
|
|
|
Define {
|
|
SDW_PLAYBACK_PCM 'SDW0-Playback'
|
|
SDW_CAPTURE_PCM 'SDW0-Capture'
|
|
PLAYBACK_LINK_ID 0
|
|
CAPTURE_LINK_ID 1
|
|
JACK_OUT_PCM_NAME "Jack Out"
|
|
JACK_IN_PCM_NAME "Jack In"
|
|
}
|
|
|
|
#
|
|
# List of all DAIs
|
|
#
|
|
#ALH Index: 0, Direction: duplex
|
|
Object.Dai.ALH [
|
|
{
|
|
dai_index 0
|
|
id $PLAYBACK_LINK_ID
|
|
direction "playback"
|
|
name $SDW_PLAYBACK_PCM
|
|
default_hw_conf_id 0
|
|
rate 48000
|
|
channels 2
|
|
|
|
Object.Base.hw_config.1 {
|
|
id 0
|
|
name "ALH2"
|
|
}
|
|
}
|
|
{
|
|
dai_index 10
|
|
id $CAPTURE_LINK_ID
|
|
direction "capture"
|
|
name $SDW_CAPTURE_PCM
|
|
default_hw_conf_id 1
|
|
rate 48000
|
|
channels 2
|
|
|
|
Object.Base.hw_config.1 {
|
|
id 1
|
|
name ALH3
|
|
}
|
|
}
|
|
]
|
|
|
|
#
|
|
# Pipeline definitions
|
|
#
|
|
|
|
# Pipeline ID:1 PCM ID: 0
|
|
Object.Pipeline {
|
|
src-gain-mixin-playback [
|
|
{
|
|
index 1
|
|
|
|
Object.Widget.host-copier.1 {
|
|
stream_name "Gain Playback 0"
|
|
pcm_id 0
|
|
}
|
|
Object.Widget.gain.1{
|
|
Object.Control.mixer.1 {
|
|
name 'Pre Mixer $JACK_OUT_PCM_NAME Playback Volume'
|
|
}
|
|
}
|
|
|
|
}
|
|
]
|
|
|
|
mixout-gain-alh-dai-copier-playback [
|
|
{
|
|
index 2
|
|
|
|
Object.Widget.alh-copier.1 {
|
|
stream_name $SDW_PLAYBACK_PCM
|
|
type "dai_in"
|
|
node_type $ALH_LINK_OUTPUT_CLASS
|
|
}
|
|
|
|
Object.Widget.gain.1 {
|
|
Object.Control.mixer.1 {
|
|
name 'Post Mixer $JACK_OUT_PCM_NAME Playback Volume'
|
|
}
|
|
}
|
|
}
|
|
]
|
|
|
|
host-gateway-capture [
|
|
{
|
|
index 4
|
|
|
|
Object.Widget.host-copier.1 {
|
|
stream_name "Passthrough Capture 0"
|
|
pcm_id 1
|
|
}
|
|
}
|
|
]
|
|
}
|
|
|
|
# Capture pipeline widgets
|
|
Object.Widget {
|
|
alh-copier [
|
|
{
|
|
stream_name $SDW_CAPTURE_PCM
|
|
direction "capture"
|
|
type "dai_out"
|
|
index 3
|
|
node_type $ALH_LINK_INPUT_CLASS
|
|
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
|
|
in_sample_type $SAMPLE_TYPE_MSB_INTEGER
|
|
in_fmt_cfg "$[($in_channels | ($in_valid_bit_depth * 256))]"
|
|
}
|
|
]
|
|
Object.Base.output_audio_format [
|
|
{
|
|
out_bit_depth 32
|
|
out_valid_bit_depth 32
|
|
out_sample_type $SAMPLE_TYPE_MSB_INTEGER
|
|
out_fmt_cfg "$[($out_channels | ($out_valid_bit_depth * 256))]"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
|
|
pipeline [
|
|
{
|
|
index 3
|
|
priority 0
|
|
lp_mode 0
|
|
dynamic_pipeline 1
|
|
}
|
|
]
|
|
}
|
|
|
|
Object.PCM.pcm [
|
|
{
|
|
name "$JACK_OUT_PCM_NAME"
|
|
id 0
|
|
direction "playback"
|
|
Object.Base.fe_dai.1 {
|
|
name "$JACK_OUT_PCM_NAME"
|
|
}
|
|
|
|
Object.PCM.pcm_caps.1 {
|
|
name "Gain Playback 0"
|
|
formats 'S16_LE,S32_LE'
|
|
rate_min 16000
|
|
rate_max 48000
|
|
}
|
|
}
|
|
{
|
|
name "$JACK_IN_PCM_NAME"
|
|
id 1
|
|
direction "capture"
|
|
Object.Base.fe_dai.1 {
|
|
name "$JACK_IN_PCM_NAME"
|
|
}
|
|
|
|
Object.PCM.pcm_caps.1 {
|
|
name "Passthrough Capture 0"
|
|
formats 'S16_LE,S32_LE'
|
|
}
|
|
}
|
|
]
|
|
|
|
Object.Base.route [
|
|
{
|
|
source "mixin.1.1"
|
|
sink "mixout.2.1"
|
|
}
|
|
{
|
|
source 'gain.2.1'
|
|
sink 'alh-copier.$SDW_PLAYBACK_PCM.0'
|
|
}
|
|
{
|
|
source "alh-copier.$SDW_CAPTURE_PCM.0"
|
|
sink "host-copier.1.capture"
|
|
}
|
|
{
|
|
source 'host-copier.0.playback'
|
|
sink 'src.1.1'
|
|
}
|
|
]
|