From 86fdca5e68388c2737f69891f432aa1dc58a8774 Mon Sep 17 00:00:00 2001 From: Zoran Vuckovic Date: Tue, 18 Apr 2017 10:59:53 +0200 Subject: [PATCH] Fix incorrect log messages --- audio/drivers/wasapi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/audio/drivers/wasapi.c b/audio/drivers/wasapi.c index dec6774bdf..fe8248b676 100644 --- a/audio/drivers/wasapi.c +++ b/audio/drivers/wasapi.c @@ -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;