• Richard Schorrig's avatar
    WasapiOutputPlugin pause bug fix · aeaef855
    Richard Schorrig authored
    Wasapi output plugin won't start playing after being paused
    
    The cause is that the scope guard in the WASAPI work thread
    (WasapiOutputPlugin.cxx, function WasapiOutputThread::Work(), in the
    while (true) loop) is set up too 'late' in the execution. There is one
    condition ("if (data_in_frames >= buffer_size_in_frames)") when it is
    hit, the loop will continue without executing the scope guard. This
    scope guard is responsible for emptying the buffer again, and if the
    buffer is not emptied, the above mentioned condition will stay true.
    
    Closes https://github.com/MusicPlayerDaemon/MPD/issues/1451
    aeaef855
Name
Last commit
Last update
.github Loading commit data...
android Loading commit data...
build Loading commit data...
doc Loading commit data...
python/build Loading commit data...
src Loading commit data...
subprojects Loading commit data...
systemd Loading commit data...
test Loading commit data...
win32 Loading commit data...
.clang-format Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
NEWS Loading commit data...
README.md Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...
mpd.svg Loading commit data...
valgrind.suppressions Loading commit data...