Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 19 additions & 1 deletion tools/topology/topology2/platform/intel/sdw-jack-generic.conf
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ Object.Dai.ALH [
name $SDW_JACK_IN_STREAM
default_hw_conf_id 0
rate $JACK_RATE
channels 2
channels $SDW_JACK_CAPTURE_CH


Object.Base.hw_config.1 {
id 0
Expand Down Expand Up @@ -354,30 +355,40 @@ Object.Pipeline.host-gateway-capture [
Object.Base.output_audio_format [
{
out_rate $JACK_RATE
out_channels $SDW_JACK_CAPTURE_CH
out_bit_depth 16
out_valid_bit_depth 16
out_fmt_cfg "$[($out_channels | ($out_valid_bit_depth * 256))]"
}
{
out_rate $JACK_RATE
out_channels $SDW_JACK_CAPTURE_CH
out_bit_depth 32
out_valid_bit_depth 24
out_fmt_cfg "$[($out_channels | ($out_valid_bit_depth * 256))]"
}
{
out_rate $JACK_RATE
out_channels $SDW_JACK_CAPTURE_CH
out_bit_depth 32
out_valid_bit_depth 32
out_fmt_cfg "$[($out_channels | ($out_valid_bit_depth * 256))]"
}
{
out_rate $JACK_RATE
out_channels $SDW_JACK_CAPTURE_CH
out_bit_depth 32
out_valid_bit_depth 32
out_sample_type $SAMPLE_TYPE_FLOAT
out_fmt_cfg "$[($out_channels | ($out_valid_bit_depth * 256))]"
}
{
out_rate $JACK_RATE
out_channels $SDW_JACK_CAPTURE_CH
out_bit_depth 8
out_valid_bit_depth 8
out_sample_type $SAMPLE_TYPE_UNSIGNED_INTEGER
out_fmt_cfg "$[($out_channels | ($out_valid_bit_depth * 256))]"
}
]
}
Expand All @@ -386,18 +397,24 @@ Object.Pipeline.host-gateway-capture [
Object.Base.output_audio_format [
{
out_rate $JACK_RATE
out_channels $SDW_JACK_CAPTURE_CH
out_bit_depth 16
out_valid_bit_depth 16
out_fmt_cfg "$[($out_channels | ($out_valid_bit_depth * 256))]"
}
{
out_rate $JACK_RATE
out_channels $SDW_JACK_CAPTURE_CH
out_bit_depth 32
out_valid_bit_depth 24
out_fmt_cfg "$[($out_channels | ($out_valid_bit_depth * 256))]"
}
{
out_rate $JACK_RATE
out_channels $SDW_JACK_CAPTURE_CH
out_bit_depth 32
out_valid_bit_depth 32
out_fmt_cfg "$[($out_channels | ($out_valid_bit_depth * 256))]"
}
]
}
Expand Down Expand Up @@ -444,6 +461,7 @@ Object.Widget {
Object.Base.input_audio_format [
{
in_rate $JACK_RATE
in_channels $SDW_JACK_CAPTURE_CH
in_bit_depth 32
in_valid_bit_depth $SDW_LINK_VALID_BITS
in_sample_type $SAMPLE_TYPE_MSB_INTEGER
Expand Down
Loading