From a3e0b8c3b5c6915b9728103c5ffc6ef9b60d07c7 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 4 Nov 2024 10:05:15 -0800 Subject: [PATCH] Fix lambda callback parameter type --- alc/backends/wasapi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alc/backends/wasapi.cpp b/alc/backends/wasapi.cpp index e1257135..24101115 100644 --- a/alc/backends/wasapi.cpp +++ b/alc/backends/wasapi.cpp @@ -445,7 +445,7 @@ struct DeviceHelper final : private IMMNotificationClient mRenderDeviceChangedToken = MediaDevice::DefaultAudioRenderDeviceChanged(playback_cb); static constexpr auto capture_cb = [](const IInspectable &sender [[maybe_unused]], - const DefaultAudioRenderDeviceChangedEventArgs &args) + const DefaultAudioCaptureDeviceChangedEventArgs &args) { if(args.Role() == AudioDeviceRole::Default) { -- 2.11.4.GIT