topology2: deepbuffer-playback: Replace audio_format objects

Use the input_audio_format/output_audio_format objects explicitly.

Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
This commit is contained in:
Ranjani Sridharan 2023-10-12 09:12:10 -07:00 committed by Liam Girdwood
parent b0b5958875
commit 6850be91ba
1 changed files with 23 additions and 19 deletions

View File

@ -16,7 +16,8 @@
# Where N is the unique pipeline ID within the same alsaconf node.
#
<include/common/audio_format.conf>
<include/common/input_audio_format.conf>
<include/common/output_audio_format.conf>
<include/components/host-copier.conf>
<include/components/mixin.conf>
<include/components/pipeline.conf>
@ -47,28 +48,31 @@ Class.Pipeline."deepbuffer-playback" {
type "aif_in"
node_type $HDA_HOST_OUTPUT_CLASS
num_input_audio_formats 3
num_output_audio_formats 3
num_output_audio_formats 1
num_output_pins 1
deep_buffer_dma_ms $DEEPBUFFER_FW_DMA_MS
# 16-bit 48KHz 2ch
Object.Base.audio_format.1 {
out_bit_depth 32
out_valid_bit_depth 32
}
Object.Base.input_audio_format [
{
in_bit_depth 16
in_valid_bit_depth 16
}
{
in_bit_depth 32
in_valid_bit_depth 24
}
{
in_bit_depth 32
in_valid_bit_depth 32
}
]
# 24-bit 48KHz 2ch
Object.Base.audio_format.2 {
in_bit_depth 32
in_valid_bit_depth 24
out_bit_depth 32
out_valid_bit_depth 32
}
# 32-bit 48KHz 2ch
Object.Base.audio_format.3 {
in_bit_depth 32
in_valid_bit_depth 32
out_bit_depth 32
out_valid_bit_depth 32
}
Object.Base.output_audio_format [
{
out_bit_depth 32
out_valid_bit_depth 32
}
]
}
gain."1" {