From 6545c62d260cffe3fa09818d48e77622811963e1 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Wed, 15 May 2024 07:46:02 +1000 Subject: [PATCH] 3rdparty/cubeb: Only include connected devices when enumerating wasapi Otherwise you just get a ton of unusable outputs. --- 3rdparty/cubeb/src/cubeb_wasapi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/3rdparty/cubeb/src/cubeb_wasapi.cpp b/3rdparty/cubeb/src/cubeb_wasapi.cpp index 29511a7d80..b192cc48ab 100644 --- a/3rdparty/cubeb/src/cubeb_wasapi.cpp +++ b/3rdparty/cubeb/src/cubeb_wasapi.cpp @@ -3638,7 +3638,7 @@ wasapi_enumerate_devices(cubeb * context, cubeb_device_type type, { return wasapi_enumerate_devices_internal( context, type, out, - DEVICE_STATE_ACTIVE | DEVICE_STATE_DISABLED | DEVICE_STATE_UNPLUGGED); + DEVICE_STATE_ACTIVE /*| DEVICE_STATE_DISABLED | DEVICE_STATE_UNPLUGGED*/); } static int