Commit 13c9aa1c authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

winstore: Acquire the IAudioClient before using it

parent 56af8b00
......@@ -102,6 +102,8 @@ static HRESULT ActivateDevice(void *opaque, REFIID iid, PROPVARIANT *actparms,
void **restrict pv)
{
(void) iid; (void) actparms;
IAudioClient* client = (IAudioClient*)opaque;
IAudioClient_AddRef(client);
*pv = opaque;
return S_OK;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment