diff options
Diffstat (limited to 'Alc/backends')
-rw-r--r-- | Alc/backends/wasapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/backends/wasapi.c b/Alc/backends/wasapi.c index 971a1f72..b974321b 100644 --- a/Alc/backends/wasapi.c +++ b/Alc/backends/wasapi.c @@ -328,7 +328,7 @@ static HRESULT probe_devices(IMMDeviceEnumerator *devenum, EDataFlow flowdir, ve devid = get_device_id(device); if(devid) { - if(wcscmp(devid, defdevid) != 0) + if(!defdevid || wcscmp(devid, defdevid) != 0) add_device(device, devid, list); CoTaskMemFree(devid); } |