topology2: host-gateway-playback: Replace audio_format objects

Use input_audio_format/output_audio_format explicitly in preparation for
deprecating the audio_format class.

Fixes: 7a11e27bf2 ('topology2: host-gateway-capture: Replace audio_format objects')
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
This commit is contained in:
Ranjani Sridharan 2023-10-13 09:01:58 -07:00 committed by Liam Girdwood
parent 5945235b42
commit 054003f292
1 changed files with 24 additions and 21 deletions

View File

@ -18,7 +18,8 @@
<include/components/host-copier.conf>
<include/components/pipeline.conf>
<include/common/audio_format.conf>
<include/common/input_audio_format.conf>
<include/common/output_audio_format.conf>
Class.Pipeline."host-gateway-playback" {
@ -46,26 +47,28 @@ Class.Pipeline."host-gateway-playback" {
type "aif_in"
num_output_pins 1
num_input_audio_formats 3
num_output_audio_formats 3
# 16-bit input format 48KHz 2ch. Output sample format is always 32-bit for playback
Object.Base.audio_format.1 {
out_bit_depth 32
out_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
}
num_output_audio_formats 1
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
}
]
# Output sample format is always 32-bit for playback
Object.Base.output_audio_format [
{
out_bit_depth 32
out_valid_bit_depth 32
}
]
}
pipeline."1" {