aboutsummaryrefslogtreecommitdiffstats
path: root/alc/backends/wasapi.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2023-06-02 20:23:52 -0700
committerChris Robinson <[email protected]>2023-06-02 20:23:52 -0700
commit4c9906284e2b47f79ebbacb6098ac7f619f2fc0f (patch)
treee80878cb6ce2ace729bf4a7b52f68fc1c1880cf8 /alc/backends/wasapi.cpp
parente7dafb65d73d2caf70a45776c5ffde9e38de4701 (diff)
Try again to fix UWP builds
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;