• 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
..
plugins Loading commit data...
Client.hxx Loading commit data...
Control.cxx Loading commit data...
Control.hxx Loading commit data...
Defaults.cxx Loading commit data...
Defaults.hxx Loading commit data...
Domain.cxx Loading commit data...
Domain.hxx Loading commit data...
Error.hxx Loading commit data...
Filtered.cxx Loading commit data...
Filtered.hxx Loading commit data...
Finish.cxx Loading commit data...
Init.cxx Loading commit data...
Interface.cxx Loading commit data...
Interface.hxx Loading commit data...
MultipleOutputs.cxx Loading commit data...
MultipleOutputs.hxx Loading commit data...
OutputAPI.hxx Loading commit data...
OutputCommand.cxx Loading commit data...
OutputCommand.hxx Loading commit data...
OutputPlugin.cxx Loading commit data...
OutputPlugin.hxx Loading commit data...
Print.cxx Loading commit data...
Print.hxx Loading commit data...
Registry.cxx Loading commit data...
Registry.hxx Loading commit data...
SharedPipeConsumer.cxx Loading commit data...
SharedPipeConsumer.hxx Loading commit data...
Source.cxx Loading commit data...
Source.hxx Loading commit data...
State.cxx Loading commit data...
State.hxx Loading commit data...
Thread.cxx Loading commit data...
Timer.cxx Loading commit data...
Timer.hxx Loading commit data...
meson.build Loading commit data...