mirror of https://github.com/thesofproject/sof.git
Topology2: sdw-jack-generic: add 1 ch format support
Some codecs like cs42l42 support 1 channel capture only. Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
This commit is contained in:
parent
a5c0c49707
commit
f6f57fe82b
|
@ -180,11 +180,56 @@ Object.Pipeline.host-gateway-capture [
|
|||
Object.Widget.host-copier.1 {
|
||||
stream_name "Passthrough Capture 0"
|
||||
pcm_id 1
|
||||
num_input_audio_formats 9
|
||||
num_output_audio_formats 9
|
||||
Object.Base.audio_format.1 {
|
||||
# 32/32 -> 16/16 bits conversion is done here
|
||||
in_bit_depth 32
|
||||
in_valid_bit_depth 32
|
||||
}
|
||||
# 32-bit 48KHz 1ch
|
||||
Object.Base.input_audio_format.7 {
|
||||
in_channels 1
|
||||
in_bit_depth 32
|
||||
in_valid_bit_depth 32
|
||||
in_ch_cfg $CHANNEL_CONFIG_MONO
|
||||
in_ch_map $CHANNEL_MAP_MONO
|
||||
}
|
||||
Object.Base.output_audio_format.7 {
|
||||
out_bit_depth 32
|
||||
out_valid_bit_depth 32
|
||||
out_channels 1
|
||||
out_ch_cfg $CHANNEL_CONFIG_MONO
|
||||
out_ch_map $CHANNEL_MAP_MONO
|
||||
}
|
||||
# 24-bit 48KHz 1ch
|
||||
Object.Base.input_audio_format.8 {
|
||||
in_channels 1
|
||||
in_bit_depth 32
|
||||
in_valid_bit_depth 32
|
||||
in_ch_cfg $CHANNEL_CONFIG_MONO
|
||||
in_ch_map $CHANNEL_MAP_MONO
|
||||
}
|
||||
Object.Base.output_audio_format.8 {
|
||||
out_bit_depth 32
|
||||
out_valid_bit_depth 24
|
||||
out_channels 1
|
||||
out_ch_cfg $CHANNEL_CONFIG_MONO
|
||||
out_ch_map $CHANNEL_MAP_MONO
|
||||
}
|
||||
# 16-bit 48KHz 1ch
|
||||
Object.Base.input_audio_format.9 {
|
||||
in_channels 1
|
||||
in_bit_depth 32
|
||||
in_valid_bit_depth 32
|
||||
in_ch_cfg $CHANNEL_CONFIG_MONO
|
||||
in_ch_map $CHANNEL_MAP_MONO
|
||||
}
|
||||
Object.Base.output_audio_format.9 {
|
||||
out_channels 1
|
||||
out_ch_cfg $CHANNEL_CONFIG_MONO
|
||||
out_ch_map $CHANNEL_MAP_MONO
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue