1 Jul
2023
1 Jul
'23
9:56 p.m.
Davide Beatrici (@davidebeatrici) commented about dlls/mmdevapi/session.c:
return ret; } + +/* If channels == 0, then this will return or create a session with + * matching dataflow and GUID. Otherwise, channels must also match. */ +HRESULT get_audio_session(const GUID *guid, IMMDevice *device, UINT channels, + struct audio_session **out) +{ + struct audio_session *session; + const GUID null_guid = { 0, 0, 0, { 0, 0, 0, 0, 0, 0, 0, 0 } }; + + TRACE("(%s, %p, %u, %p)\n", debugstr_guid(guid), device, channels, out);
I added this for debugging purposes. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/3218#note_37544