2022-06-15 17:15:24 +08:00
|
|
|
<searchdir:include>
|
|
|
|
<searchdir:include/common>
|
|
|
|
<searchdir:include/components>
|
|
|
|
<searchdir:include/dais>
|
|
|
|
<searchdir:include/controls>
|
|
|
|
<searchdir:include/pipelines/cavs>
|
2023-04-07 03:13:55 +08:00
|
|
|
<searchdir:platform>
|
2023-04-05 05:51:19 +08:00
|
|
|
<searchdir:platform/intel>
|
2022-06-15 17:15:24 +08:00
|
|
|
|
|
|
|
<vendor-token.conf>
|
|
|
|
<tokens.conf>
|
|
|
|
<virtual.conf>
|
|
|
|
<src-gain-mixin-playback.conf>
|
2023-05-21 02:12:38 +08:00
|
|
|
<mixout-gain-alh-dai-copier-playback.conf>
|
2023-04-07 02:27:10 +08:00
|
|
|
<host-gateway-capture.conf>
|
2023-04-07 01:57:36 +08:00
|
|
|
<io-gateway-capture.conf>
|
2022-06-15 17:15:24 +08:00
|
|
|
<data.conf>
|
|
|
|
<pcm.conf>
|
|
|
|
<pcm_caps.conf>
|
|
|
|
<fe_dai.conf>
|
|
|
|
<alh.conf>
|
2023-04-05 05:51:19 +08:00
|
|
|
<hw_config_simple.conf>
|
2022-06-15 17:15:24 +08:00
|
|
|
<manifest.conf>
|
|
|
|
<route.conf>
|
2024-02-15 23:27:29 +08:00
|
|
|
<common_definitions.conf>
|
2023-05-18 02:26:11 +08:00
|
|
|
<dai-copier.conf>
|
2022-06-15 17:15:24 +08:00
|
|
|
<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
|
2023-06-05 05:21:51 +08:00
|
|
|
JACK_OUT_PCM_NAME "Jack Out"
|
|
|
|
JACK_IN_PCM_NAME "Jack In"
|
2022-06-15 17:15:24 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
#
|
|
|
|
# List of all DAIs
|
|
|
|
#
|
|
|
|
#ALH Index: 0, Direction: duplex
|
2023-02-09 08:19:53 +08:00
|
|
|
Object.Dai.ALH [
|
|
|
|
{
|
2023-02-17 09:26:12 +08:00
|
|
|
dai_index 0
|
2022-06-15 17:15:24 +08:00
|
|
|
id $PLAYBACK_LINK_ID
|
|
|
|
direction "playback"
|
|
|
|
name $SDW_PLAYBACK_PCM
|
|
|
|
default_hw_conf_id 0
|
|
|
|
rate 48000
|
|
|
|
channels 2
|
|
|
|
|
2023-01-20 09:37:59 +08:00
|
|
|
Object.Base.hw_config.1 {
|
2022-06-15 17:15:24 +08:00
|
|
|
id 0
|
2023-01-20 09:37:59 +08:00
|
|
|
name "ALH2"
|
2022-06-15 17:15:24 +08:00
|
|
|
}
|
|
|
|
}
|
2023-02-09 08:19:53 +08:00
|
|
|
{
|
2023-02-17 09:26:12 +08:00
|
|
|
dai_index 10
|
2022-06-15 17:15:24 +08:00
|
|
|
id $CAPTURE_LINK_ID
|
|
|
|
direction "capture"
|
|
|
|
name $SDW_CAPTURE_PCM
|
|
|
|
default_hw_conf_id 1
|
|
|
|
rate 48000
|
|
|
|
channels 2
|
|
|
|
|
2023-01-20 09:37:59 +08:00
|
|
|
Object.Base.hw_config.1 {
|
2022-06-15 17:15:24 +08:00
|
|
|
id 1
|
2023-01-20 09:37:59 +08:00
|
|
|
name ALH3
|
2022-06-15 17:15:24 +08:00
|
|
|
}
|
|
|
|
}
|
2023-02-09 08:19:53 +08:00
|
|
|
]
|
2022-06-15 17:15:24 +08:00
|
|
|
|
|
|
|
#
|
|
|
|
# Pipeline definitions
|
|
|
|
#
|
|
|
|
|
|
|
|
# Pipeline ID:1 PCM ID: 0
|
|
|
|
Object.Pipeline {
|
2023-02-09 08:19:53 +08:00
|
|
|
src-gain-mixin-playback [
|
|
|
|
{
|
|
|
|
index 1
|
2022-06-15 17:15:24 +08:00
|
|
|
|
2023-05-17 04:43:26 +08:00
|
|
|
Object.Widget.host-copier.1 {
|
|
|
|
stream_name "Gain Playback 0"
|
|
|
|
pcm_id 0
|
|
|
|
}
|
2023-02-09 08:19:53 +08:00
|
|
|
Object.Widget.gain.1{
|
|
|
|
Object.Control.mixer.1 {
|
2023-06-05 05:21:51 +08:00
|
|
|
name 'Pre Mixer $JACK_OUT_PCM_NAME Playback Volume'
|
2023-02-09 08:19:53 +08:00
|
|
|
}
|
|
|
|
}
|
2022-06-15 17:15:24 +08:00
|
|
|
|
|
|
|
}
|
2023-02-09 08:19:53 +08:00
|
|
|
]
|
|
|
|
|
2023-05-21 02:12:38 +08:00
|
|
|
mixout-gain-alh-dai-copier-playback [
|
2023-02-09 08:19:53 +08:00
|
|
|
{
|
|
|
|
index 2
|
|
|
|
|
2023-05-21 02:12:38 +08:00
|
|
|
Object.Widget.alh-copier.1 {
|
2023-02-09 08:19:53 +08:00
|
|
|
stream_name $SDW_PLAYBACK_PCM
|
|
|
|
type "dai_in"
|
|
|
|
node_type $ALH_LINK_OUTPUT_CLASS
|
|
|
|
}
|
|
|
|
|
|
|
|
Object.Widget.gain.1 {
|
|
|
|
Object.Control.mixer.1 {
|
2023-06-05 05:21:51 +08:00
|
|
|
name 'Post Mixer $JACK_OUT_PCM_NAME Playback Volume'
|
2023-02-09 08:19:53 +08:00
|
|
|
}
|
|
|
|
}
|
2022-06-15 17:15:24 +08:00
|
|
|
}
|
2023-02-09 08:19:53 +08:00
|
|
|
]
|
|
|
|
|
2023-04-07 02:27:10 +08:00
|
|
|
host-gateway-capture [
|
2023-02-09 08:19:53 +08:00
|
|
|
{
|
|
|
|
index 4
|
|
|
|
|
2023-05-17 05:36:13 +08:00
|
|
|
Object.Widget.host-copier.1 {
|
|
|
|
stream_name "Passthrough Capture 0"
|
|
|
|
pcm_id 1
|
2023-02-09 08:19:53 +08:00
|
|
|
}
|
2022-06-15 17:15:24 +08:00
|
|
|
}
|
2023-02-09 08:19:53 +08:00
|
|
|
]
|
2023-05-21 02:12:38 +08:00
|
|
|
}
|
2023-02-09 08:19:53 +08:00
|
|
|
|
2023-05-21 02:12:38 +08:00
|
|
|
# Capture pipeline widgets
|
|
|
|
Object.Widget {
|
|
|
|
alh-copier [
|
2023-02-09 08:19:53 +08:00
|
|
|
{
|
2023-05-21 02:12:38 +08:00
|
|
|
stream_name $SDW_CAPTURE_PCM
|
2023-02-09 08:19:53 +08:00
|
|
|
direction "capture"
|
2023-05-21 02:12:38 +08:00
|
|
|
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
|
2023-11-14 14:51:34 +08:00
|
|
|
in_sample_type $SAMPLE_TYPE_MSB_INTEGER
|
|
|
|
in_fmt_cfg "$[($in_channels | ($in_valid_bit_depth * 256))]"
|
2023-05-21 02:12:38 +08:00
|
|
|
}
|
|
|
|
]
|
|
|
|
Object.Base.output_audio_format [
|
|
|
|
{
|
|
|
|
out_bit_depth 32
|
|
|
|
out_valid_bit_depth 32
|
2023-11-14 14:51:34 +08:00
|
|
|
out_sample_type $SAMPLE_TYPE_MSB_INTEGER
|
|
|
|
out_fmt_cfg "$[($out_channels | ($out_valid_bit_depth * 256))]"
|
2023-05-21 02:12:38 +08:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
|
|
|
|
pipeline [
|
|
|
|
{
|
|
|
|
index 3
|
|
|
|
priority 0
|
|
|
|
lp_mode 0
|
|
|
|
dynamic_pipeline 1
|
2023-02-09 08:19:53 +08:00
|
|
|
}
|
|
|
|
]
|
2022-06-15 17:15:24 +08:00
|
|
|
}
|
|
|
|
|
2023-02-09 08:19:53 +08:00
|
|
|
Object.PCM.pcm [
|
|
|
|
{
|
2023-06-05 05:21:51 +08:00
|
|
|
name "$JACK_OUT_PCM_NAME"
|
2022-06-15 17:15:24 +08:00
|
|
|
id 0
|
|
|
|
direction "playback"
|
2023-01-24 02:44:18 +08:00
|
|
|
Object.Base.fe_dai.1 {
|
2023-06-05 05:21:51 +08:00
|
|
|
name "$JACK_OUT_PCM_NAME"
|
2023-01-24 02:44:18 +08:00
|
|
|
}
|
2022-06-15 17:15:24 +08:00
|
|
|
|
2023-01-24 02:44:18 +08:00
|
|
|
Object.PCM.pcm_caps.1 {
|
2022-06-15 17:15:24 +08:00
|
|
|
name "Gain Playback 0"
|
|
|
|
formats 'S16_LE,S32_LE'
|
|
|
|
rate_min 16000
|
|
|
|
rate_max 48000
|
|
|
|
}
|
|
|
|
}
|
2023-02-09 08:19:53 +08:00
|
|
|
{
|
2023-06-05 05:21:51 +08:00
|
|
|
name "$JACK_IN_PCM_NAME"
|
2022-06-15 17:15:24 +08:00
|
|
|
id 1
|
|
|
|
direction "capture"
|
2023-01-24 02:44:18 +08:00
|
|
|
Object.Base.fe_dai.1 {
|
2023-06-05 05:21:51 +08:00
|
|
|
name "$JACK_IN_PCM_NAME"
|
2023-01-24 02:44:18 +08:00
|
|
|
}
|
2022-06-15 17:15:24 +08:00
|
|
|
|
2023-01-24 02:44:18 +08:00
|
|
|
Object.PCM.pcm_caps.1 {
|
2022-06-15 17:15:24 +08:00
|
|
|
name "Passthrough Capture 0"
|
|
|
|
formats 'S16_LE,S32_LE'
|
|
|
|
}
|
|
|
|
}
|
2023-02-09 08:19:53 +08:00
|
|
|
]
|
2022-06-15 17:15:24 +08:00
|
|
|
|
2023-02-09 08:19:53 +08:00
|
|
|
Object.Base.route [
|
|
|
|
{
|
2022-06-15 17:15:24 +08:00
|
|
|
source "mixin.1.1"
|
|
|
|
sink "mixout.2.1"
|
|
|
|
}
|
2023-02-09 08:19:53 +08:00
|
|
|
{
|
2022-06-15 17:15:24 +08:00
|
|
|
source 'gain.2.1'
|
2023-05-21 02:12:38 +08:00
|
|
|
sink 'alh-copier.$SDW_PLAYBACK_PCM.0'
|
2022-06-15 17:15:24 +08:00
|
|
|
}
|
2023-02-09 08:19:53 +08:00
|
|
|
{
|
2023-05-21 02:12:38 +08:00
|
|
|
source "alh-copier.$SDW_CAPTURE_PCM.0"
|
2023-05-17 05:36:13 +08:00
|
|
|
sink "host-copier.1.capture"
|
2022-06-15 17:15:24 +08:00
|
|
|
}
|
2023-05-17 04:43:26 +08:00
|
|
|
{
|
|
|
|
source 'host-copier.0.playback'
|
2023-05-21 02:12:38 +08:00
|
|
|
sink 'src.1.1'
|
2023-05-17 04:43:26 +08:00
|
|
|
}
|
2023-02-09 08:19:53 +08:00
|
|
|
]
|