Fix incorrect log messages

This commit is contained in:
Zoran Vuckovic 2017-04-18 10:59:53 +02:00 committed by twinaphex
parent 6ebd4e139e
commit 86fdca5e68

View File

@ -410,10 +410,10 @@ static IAudioClient *wasapi_init_client_ex(IMMDevice *device,
if (hr != AUDCLNT_E_UNSUPPORTED_FORMAT)
{
WASAPI_WARN(hr != AUDCLNT_E_DEVICE_IN_USE,
"Exclusive mode disabled", goto error);
"Device already in use", goto error);
WASAPI_WARN(hr != AUDCLNT_E_EXCLUSIVE_MODE_NOT_ALLOWED,
"Device allready in use", goto error);
"Exclusive mode disabled", goto error);
i = 2; /* break from outer loop too */
break;