loopback: Do not detect underruns during initial latency adjustments

System Internals / PulseAudio - Georg Chini [chini.tk] - 7 November 2021 18:17 UTC

Currently module-loopback detects underruns even if sink_input_pop_cb() was not yet called twice and initial latency adjustments are active. This leads to unnecessary rewind requests.

This patch delays detecting underruns until the initial adjustments are done.

Part-of:

e7abd862b loopback: Do not detect underruns during initial latency adjustments
src/modules/module-loopback.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

Upstream: cgit.freedesktop.org


  • Share