PulseAudio Marge Bot pushed to branch master at PulseAudio / pulseaudio
Commits: cb91d7a1 by Samuel Thibault at 2020-12-14T19:18:25+00:00 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> - - - - - 1 changed file: - src/modules/alsa/alsa-sink.c Changes: ===================================== src/modules/alsa/alsa-sink.c ===================================== @@ -1877,8 +1877,11 @@ static int process_rewind(struct userdata *u) { u->after_rewind = true; return 0; } - } else + } else { pa_log_debug("Mhmm, actually there is nothing to rewind."); + if (u->use_tsched) + increase_watermark(u); + } rewind_done: pa_sink_process_rewind(u->sink, 0); View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/cb91d7a12e6be0e2c720d47d2ceca322a7b21d2c -- View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/cb91d7a12e6be0e2c720d47d2ceca322a7b21d2c You're receiving this email because of your account on gitlab.freedesktop.org.
_______________________________________________ pulseaudio-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/pulseaudio-commits
