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

Denis Charmet git at videolan.org
Sun Apr 27 19:14:34 CEST 2014


vlc | branch: master | Denis Charmet <typx at dinauz.org> | Thu Apr 17 00:37:58 2014 +0200| [3044105e9d4664609a7d749469fe0fd6d85e90ff] | committer: Denis Charmet

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.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3044105e9d4664609a7d749469fe0fd6d85e90ff
---

 modules/audio_output/directsound.c |  162 ++++++++++++++++++++++++++++++------
 1 file changed, 135 insertions(+), 27 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=3044105e9d4664609a7d749469fe0fd6d85e90ff


More information about the vlc-commits mailing list