]> git.sesse.net Git - vlc/commit
Erase regularily the already played directsound buffer outside of the play callback
authorDenis Charmet <typx@dinauz.org>
Wed, 16 Apr 2014 22:37:58 +0000 (00:37 +0200)
committerDenis Charmet <typx@dinauz.org>
Sun, 27 Apr 2014 17:08:49 +0000 (19:08 +0200)
commit3044105e9d4664609a7d749469fe0fd6d85e90ff
treeb50fdc984bcae8244b5e55fba26745779c138887
parent37fb48bc775565b7dcb8de7cb6ac8b7e0b76104d
Erase regularily the already played directsound buffer outside of the play callback

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.
modules/audio_output/directsound.c