Skip to content

Commit aa684e4

Browse files
committed
Tools: Topology: SRC: Increase 48 kHz capture source buffer size
This patch fixes the issue in nocodec topologies with 48 kHz to 11.025 kHz capture. The root cause for the glitches in capture is overrun of the capture DAI sink buffer. Since the currently used fractions in SRC in the particular conversion consume data in blocks of 80 frames, the normal 96 frames (2 * 48) buffer cannot fit all data from DAI when previous SRC copy has consumed zero frames from it's source. The increase of ibs from default value of 384 to 512 results to DAI buffer of 128 frames for S32_LE stereo data at 48 kHz. It seems to be sufficient for clean captured audio. Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
1 parent 7ed4499 commit aa684e4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/topology/topology2/include/components/src_format_s32_convert_from_48k.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,6 @@
3939
in_rate 48000
4040
in_bit_depth 32
4141
in_valid_bit_depth 32
42+
ibs 512
4243
}
4344
]

0 commit comments

Comments
 (0)