linux icon indicating copy to clipboard operation
linux copied to clipboard

ASoC: SOF: ipc4-topology: Enable deep buffer capture

Open singalsu opened this issue 1 month ago • 2 comments

This patch lets a capture PCM to operate with deep buffer by taking dsp_max_burst_size_in_ms from topology if it is defined. Earlier the value from topology was omitted for capture.

If not defined, the maximum burst size for capture is set similarly as before to one millisecond.

singalsu avatar Nov 26 '25 14:11 singalsu

This needs https://github.com/thesofproject/sof/pull/10393 . Still it looks like DMA transfers are 48 frames / 1 ms, so more work needed. Also seems playback DMA transfers are the same, so I'm not sure I'm looking the right thing.

singalsu avatar Nov 26 '25 15:11 singalsu

This needs thesofproject/sof#10393 . Still it looks like DMA transfers are 48 frames / 1 ms, so more work needed. Also seems playback DMA transfers are the same, so I'm not sure I'm looking the right thing.

The update patch works, in FW the DMA reload now happens at about every 10th host copier copy. But there are in captured audio small glitches every few tens of ms, that is likely a FW issue.

singalsu avatar Nov 27 '25 11:11 singalsu