diff --git a/tools/topology/topology2/include/components/src_format_s32_convert_from_48k.conf b/tools/topology/topology2/include/components/src_format_s32_convert_from_48k.conf index c1e450c776d1..5cd13dae1492 100644 --- a/tools/topology/topology2/include/components/src_format_s32_convert_from_48k.conf +++ b/tools/topology/topology2/include/components/src_format_s32_convert_from_48k.conf @@ -7,7 +7,6 @@ 8000 12000 16000 - 22050 24000 32000 48000 @@ -21,13 +20,15 @@ { out_rate [ 11025 + 22050 44100 88200 176400 ] out_bit_depth [ 32 ] out_valid_bit_depth [ 32 ] - obs "$[($out_channels * (($[($out_rate + 999)] / 1000) + 4)) * ($out_bit_depth / 8)]" + # actual buffer size in sof is obs * 2, so here simply set to its period size + obs "$[$out_channels * ($out_bit_depth / 8) * (($out_rate / 1000)) * ($period / 1000)]" } ]