mirror of https://github.com/thesofproject/sof.git
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:
parent
5945235b42
commit
054003f292
|
@ -18,7 +18,8 @@
|
||||||
|
|
||||||
<include/components/host-copier.conf>
|
<include/components/host-copier.conf>
|
||||||
<include/components/pipeline.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" {
|
Class.Pipeline."host-gateway-playback" {
|
||||||
|
|
||||||
|
@ -46,26 +47,28 @@ Class.Pipeline."host-gateway-playback" {
|
||||||
type "aif_in"
|
type "aif_in"
|
||||||
num_output_pins 1
|
num_output_pins 1
|
||||||
num_input_audio_formats 3
|
num_input_audio_formats 3
|
||||||
num_output_audio_formats 3
|
num_output_audio_formats 1
|
||||||
# 16-bit input format 48KHz 2ch. Output sample format is always 32-bit for playback
|
Object.Base.input_audio_format [
|
||||||
Object.Base.audio_format.1 {
|
{
|
||||||
out_bit_depth 32
|
in_bit_depth 16
|
||||||
out_valid_bit_depth 32
|
in_valid_bit_depth 16
|
||||||
}
|
}
|
||||||
# 24-bit 48KHz 2ch
|
{
|
||||||
Object.Base.audio_format.2 {
|
|
||||||
in_bit_depth 32
|
in_bit_depth 32
|
||||||
in_valid_bit_depth 24
|
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_bit_depth 32
|
||||||
in_valid_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_bit_depth 32
|
||||||
out_valid_bit_depth 32
|
out_valid_bit_depth 32
|
||||||
}
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
pipeline."1" {
|
pipeline."1" {
|
||||||
|
|
Loading…
Reference in New Issue