• 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
To find the state of this project's repository at the time of any of these versions, check out the tags.
NEWS 86.8 KB