Browse Source

pulse: fix drain if timing update fails (unlikely)

Fixes #27690
pull/141/head
Thomas Guillem 4 years ago
committed by Steve Lhomme
parent
commit
9abf0bb2b6
  1. 6
      modules/audio_output/pulse.c

6
modules/audio_output/pulse.c

@ -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);

Loading…
Cancel
Save