aboutsummaryrefslogtreecommitdiffstats
path: root/alc/backends/wasapi.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'alc/backends/wasapi.cpp')
-rw-r--r--alc/backends/wasapi.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/alc/backends/wasapi.cpp b/alc/backends/wasapi.cpp
index 66400681..155f0413 100644
--- a/alc/backends/wasapi.cpp
+++ b/alc/backends/wasapi.cpp
@@ -433,8 +433,8 @@ struct DeviceHelper final : private IMMNotificationClient
{
ComPtr<IActivateAudioInterfaceAsyncOperation> asyncOp;
mPPV = ppv;
- HRESULT hr{ActivateAudioInterfaceAsync(deviceInterfacePath, riid, activationParams, this,
- al::out_ptr(asyncOp))};
+ HRESULT hr{ActivateAudioInterfaceAsync(device.value->Id->Data(), __uuidof(IAudioClient3),
+ nullptr, this, al::out_ptr(asyncOp))};
if(FAILED(hr))
return hr;
asyncOp = nullptr;