diff options
author | Chris Robinson <[email protected]> | 2023-06-02 20:23:52 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2023-06-02 20:23:52 -0700 |
commit | 4c9906284e2b47f79ebbacb6098ac7f619f2fc0f (patch) | |
tree | e80878cb6ce2ace729bf4a7b52f68fc1c1880cf8 /alc/backends/wasapi.cpp | |
parent | e7dafb65d73d2caf70a45776c5ffde9e38de4701 (diff) |
Try again to fix UWP builds
Diffstat (limited to 'alc/backends/wasapi.cpp')
-rw-r--r-- | alc/backends/wasapi.cpp | 4 |
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; |