mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-25 07:05:40 +00:00
dep/cubeb: Only include connected devices when enumerating wasapi
Otherwise you just get a ton of unusable outputs.
This commit is contained in:
parent
872cee908c
commit
eab4271bf7
|
@ -3638,7 +3638,7 @@ wasapi_enumerate_devices(cubeb * context, cubeb_device_type type,
|
||||||
{
|
{
|
||||||
return wasapi_enumerate_devices_internal(
|
return wasapi_enumerate_devices_internal(
|
||||||
context, type, out,
|
context, type, out,
|
||||||
DEVICE_STATE_ACTIVE | DEVICE_STATE_DISABLED | DEVICE_STATE_UNPLUGGED);
|
DEVICE_STATE_ACTIVE /*| DEVICE_STATE_DISABLED | DEVICE_STATE_UNPLUGGED*/);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
|
|
Loading…
Reference in a new issue