Commit aa684e4
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- tools/topology/topology2/include/components
1 file changed
+1
-0
lines changedLines 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