Commit d90b2ad
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 d90b2ad
1 file changed
Lines changed: 1 addition & 0 deletions
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
42 | 43 | | |
43 | 44 | | |
0 commit comments