From eab4271bf72280db0606da648fcd485a032e6bef Mon Sep 17 00:00:00 2001 From: Stenzek Date: Sun, 12 May 2024 17:14:49 +1000 Subject: [PATCH] dep/cubeb: Only include connected devices when enumerating wasapi Otherwise you just get a ton of unusable outputs. --- dep/cubeb/src/cubeb_wasapi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dep/cubeb/src/cubeb_wasapi.cpp b/dep/cubeb/src/cubeb_wasapi.cpp index 29511a7d8..b192cc48a 100644 --- a/dep/cubeb/src/cubeb_wasapi.cpp +++ b/dep/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