[vlc-devel] [RFC] directsound: fix for #8860
Rémi Denis-Courmont
remi at remlab.net
Sat Jul 20 12:06:51 CEST 2013
Le samedi 20 juillet 2013 01:50:48 Ludovic Fauvet a écrit :
> AFAICT the last flush() function (with the wait/drain boolean set to
> true) is also called too late, often few ms after the read pointer crossed
> the last written buffer causing the flush to return immediately (without
> actually having to wait) and it looks suspect to me. Could the TimeGet be
> faulty here?
This has nothing to do with the time estimation. The audio output core
requests drain at the very last minute to avoid blocking the audio decoder
thread. This is by Laurent's design; see aout_DecIsEmpty().
--
Rémi Denis-Courmont
http://www.remlab.net/
More information about the vlc-devel
mailing list