17 Jun
2023
17 Jun
'23
11:27 a.m.
Huw Davies (@huw) commented about dlls/winecoreaudio.drv/mmdevdrv.c:
TRACE("(%p) Refcount now %lu\n", This, ref); if(!ref){ if(This->stream){ - struct release_stream_params params; - params.stream = This->stream; - params.timer_thread = This->timer_thread; - UNIX_CALL(release_stream, ¶ms); + stream_release(This->stream, This->timer_thread); This->stream = 0;
There's also an instance of the `release_stream` call in `AudioClient_Initialize()`. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/3090#note_36007