[vlc-devel] [PATCH] pulse: fix audio dropout when the input buffering takes too long

Jonathan Calmels jbjcalmels at gmail.com
Sun Feb 22 17:36:27 CET 2015

Could you be a little bit more explicit ?
If it's forbidden, why does the initial code assume that the latency could
be negative ?

Here is the use case:
1. I have a remote stream I'm playing with high latency
2. I seek somewhere on the stream
3. VLC finishes buffering after few seconds
4. Pulse audio TimeGet reports a zero delay, I lose the audio and not the

All the other audio outputs work fine btw. So how to fix it properly ?

2015-02-22 16:50 GMT+01:00 Rémi Denis-Courmont <remi at remlab.net>:

> Le dimanche 22 février 2015, 16:24:41 Jonathan Calmels a écrit :
> > Under the pulse audio output, if the input buffering takes too much time
> > (~2s), the audio drops out completely. This is due to
> pa_stream_get_latency
> > returning a zero latency when in fact it should return a negative one.
> > pa_stream_get_latency reports a negative latency only for recording
> > streams.
> Causality forbids negative output latency. Fixing dropout is physically
> impossible. This patch description makes no sense.
> --
> Rémi Denis-Courmont
> http://www.remlab.net/
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20150222/e5733fb0/attachment.html>

More information about the vlc-devel mailing list