]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: q6apm: fix under runs and fragment sizes
authorMark Brown <broonie@kernel.org>
Mon, 31 Mar 2025 17:49:28 +0000 (18:49 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 31 Mar 2025 17:49:28 +0000 (18:49 +0100)
commitcc80b44b69fde7806f01739e47b965a149c13492
treec8ebc3d8fc0e133c3084a8c30b5ac8e086758009
parent1ebd4944266e86a7ce274f197847f5a6399651e8
parenta93dad6f4e6a04a5943f6ee5686585f24abf7063
ASoC: q6apm: fix under runs and fragment sizes

Merge series from srinivas.kandagatla@linaro.org:

On Qualcomm Audioreach setup, some of the audio artifacts are seen in
both recording and playback. These patches fix issues by
1. Adjusting the fragment size that dsp can service.
2. schedule available playback buffers in time for dsp to not hit under runs
3. remove some of the manual calculations done to get hardware pointer.

With these patches, am able to see significant Audio quality improvements.
I have few more patches to optimize the dsp drivers, but for now am
keeping this series simple to address the underruns and overruns issues
noticed in pipewire setup.

Any testing would be appreciated.

Please note that on pipewire min-latency has to be set to 512 which
reflects the DSP latency requirements of 10ms. You might see audio
artifacts like glitches if you try to play audio below 256 latency.