7 Jun
2023
7 Jun
'23
8:29 a.m.
Huw Davies (@huw) commented about dlls/winepulse.drv/mmdevdrv.c:
{ ACImpl *This = impl_from_IAudioClient3(iface); struct start_params params; - HRESULT hr;
TRACE("(%p)\n", This);
- if (!This->stream) - return AUDCLNT_E_NOT_INITIALIZED; + sessions_lock(); + + if (!This->stream) { + params.result = AUDCLNT_E_NOT_INITIALIZED; + goto exit; Could we please make this look like the alsa and oss driver, rather than introduce this `exit` label?
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/2994#note_34900