[vlc-devel] [PATCH] Erase regularily the already played directsound buffer outside of the play callback

Ludovic Fauvet etix at videolan.org
Thu Apr 17 13:30:10 CEST 2014

On Wed, Apr 16, 2014, at 15:43, Denis Charmet wrote:
> Since Directsound is unable to detect an underrun while looping, this
> might be the simplest solution to avoid audio glitches when the audio
> track finishes before the other es tracks.
> It may look overkill but this properly fix #11145 once and for all.

Adding a new thread to cleanup the buffer seems overkill indeed but I
don't see any other way to fix #11145. So LGTM.

Ludovic Fauvet

More information about the vlc-devel mailing list