topology2: cavs: gain-pipelines: change the input/output bit depths

The DAI copiers only support 32-bit format. Change the gain-playback and
gain-capture to set the input/output bit-depth to match the DAI copier
requirement.

Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
This commit is contained in:
Ranjani Sridharan 2022-02-24 09:39:02 -08:00 committed by Liam Girdwood
parent 33bae7afa1
commit 487d514b9d
2 changed files with 4 additions and 0 deletions

View File

@ -55,6 +55,8 @@ Class.Pipeline."gain-capture" {
num_audio_formats 2 num_audio_formats 2
# 16-bit 48KHz 2ch # 16-bit 48KHz 2ch
Object.Base.audio_format.1 { Object.Base.audio_format.1 {
in_bit_depth 32
in_valid_bit_depth 32
dma_buffer_size "$[$obs * 2]" dma_buffer_size "$[$obs * 2]"
} }
# 32-bit 48KHz 2ch # 32-bit 48KHz 2ch

View File

@ -55,6 +55,8 @@ Class.Pipeline."gain-playback" {
num_audio_formats 2 num_audio_formats 2
# 16-bit 48KHz 2ch # 16-bit 48KHz 2ch
Object.Base.audio_format.1 { Object.Base.audio_format.1 {
out_bit_depth 32
out_valid_bit_depth 32
dma_buffer_size "$[$ibs * 2]" dma_buffer_size "$[$ibs * 2]"
} }
# 32-bit 48KHz 2ch # 32-bit 48KHz 2ch