Skip to content

Commit 7fa6ad1

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 is overrun of the capture DAI sink buffer. The currently used fractions in SRC in the particular conversion consume data in blocks of 80 frames. Depending on copy() run the consumption is 80 frames or zero frames. the normal 96 frames (2 * 48) buffer cannot fit all data from DAI when the previous SRC copy has not consumed enough data. 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 sufficiently large for the input buffer irregularity to produce clean captured audio. Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
1 parent 7ed4499 commit 7fa6ad1

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)