alsa-sink: increase watermark when there is nothing to rewind
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Sun, 26 Apr 2020 17:55:08 +0000 (19:55 +0200)
committerPulseAudio Marge Bot <pulseaudio-maintainers@lists.freedesktop.org>
Mon, 14 Dec 2020 19:18:25 +0000 (19:18 +0000)
commitcb91d7a12e6be0e2c720d47d2ceca322a7b21d2c
treeeb0f2b08d63b74b7ea48fd5def1376b745a4cad8
parentd15b31d751d90274fee303a87a4c8493f1a118eb
alsa-sink: increase watermark when there is nothing to rewind

If we do not manage to rewind at all because there is nothing to rewind
any more, it means the latency is too small, and we let audio escape our
control. We should thus increase the watermark to fix this.

Fixes #871

Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/287>
src/modules/alsa/alsa-sink.c