Commit 5979d796 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

winstore: Fix ActivateDevice

The opaque pointer actually is the device, not p_sys
parent 47f21555
...@@ -101,10 +101,9 @@ static void Flush(audio_output_t *aout, bool wait) ...@@ -101,10 +101,9 @@ static void Flush(audio_output_t *aout, bool wait)
static HRESULT ActivateDevice(void *opaque, REFIID iid, PROPVARIANT *actparms, static HRESULT ActivateDevice(void *opaque, REFIID iid, PROPVARIANT *actparms,
void **restrict pv) void **restrict pv)
{ {
aout_sys_t *sys = opaque; (void) iid; (void) actparms;
*pv = opaque;
(void)iid; (void)actparms;
*pv = sys->client;
return S_OK; 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