diff options
author | Mark Brown <broonie@kernel.org> | 2025-03-31 20:49:28 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2025-03-31 20:49:28 +0300 |
commit | cc80b44b69fde7806f01739e47b965a149c13492 (patch) | |
tree | c8ebc3d8fc0e133c3084a8c30b5ac8e086758009 /lib/string_helpers.c | |
parent | 1ebd4944266e86a7ce274f197847f5a6399651e8 (diff) | |
parent | a93dad6f4e6a04a5943f6ee5686585f24abf7063 (diff) | |
download | linux-cc80b44b69fde7806f01739e47b965a149c13492.tar.xz |
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.
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions