diff options
Diffstat (limited to 'audio')
-rw-r--r-- | audio/out/ao_wasapi_utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/out/ao_wasapi_utils.c b/audio/out/ao_wasapi_utils.c index 6d2a707aac..842b7fd9e2 100644 --- a/audio/out/ao_wasapi_utils.c +++ b/audio/out/ao_wasapi_utils.c @@ -909,7 +909,7 @@ LPWSTR find_deviceID(struct ao *ao) } if (bstrcmp(device, bstr_strip(bstr0(d->name))) == 0) { - if (!state->deviceID) { + if (!deviceID) { MP_VERBOSE(ao, "Selecting device by name: \'%.*s\'\n", BSTR_P(device)); deviceID = select_device(ao->log, d); } else { |