Skip to content
Snippets Groups Projects
Commit 9abf0bb2 authored by Thomas Guillem's avatar Thomas Guillem Committed by Steve Lhomme
Browse files

pulse: fix drain if timing update fails (unlikely)

Fixes #27690
parent 55d8479e
No related branches found
No related tags found
Loading
Pipeline #300393 canceled with stage
in 2 hours, 16 minutes, and 5 seconds
......@@ -671,7 +671,11 @@ static void Drain(audio_output_t *aout)
if (op != NULL)
pa_operation_unref(op);
else
aout_DrainedReport(aout);
{
/* Timing failed, update the drain timer using the last known
* latency */
TriggerDrain(aout);
}
}
pa_threaded_mainloop_unlock(sys->mainloop);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment