3rdparty/cubeb: Only include connected devices when enumerating wasapi

Otherwise you just get a ton of unusable outputs.
This commit is contained in:
Stenzek 2024-05-15 07:46:02 +10:00 committed by Connor McLaughlin
parent c573c00eb0
commit 6545c62d26
1 changed files with 1 additions and 1 deletions

View File

@ -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