From 4c9906284e2b47f79ebbacb6098ac7f619f2fc0f Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Fri, 2 Jun 2023 20:23:52 -0700 Subject: Try again to fix UWP builds --- alc/backends/wasapi.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'alc/backends/wasapi.cpp') 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 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; -- cgit v1.2.3