mpd/src/output/plugins/wasapi
Richard Schorrig aeaef85507 WasapiOutputPlugin pause bug fix
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
2022-03-14 14:26:00 +01:00
..
AudioClient.hxx win32/HResult: add MakeHResultError() 2021-03-08 13:46:36 +01:00
Device.hxx win32/HResult: add MakeHResultError() 2021-03-08 13:46:36 +01:00
ForMixer.hxx win32/ComWorker: make COMWorker a real class, no static members 2021-03-06 20:46:29 +01:00
PropertyStore.hxx output/wasapi: move COM utilities to separate headers 2021-03-05 18:33:31 +01:00
WasapiOutputPlugin.cxx WasapiOutputPlugin pause bug fix 2022-03-14 14:26:00 +01:00
WasapiOutputPlugin.hxx output/wasapi: split the header 2021-03-05 16:43:44 +01:00