Commit 594002d0 authored by Jörg Höhle's avatar Jörg Höhle Committed by Alexandre Julliard

winealsa: Fix -errno typo.

parent 7c52a257
...@@ -582,7 +582,7 @@ HRESULT WINAPI AUDDRV_GetAudioEndpoint(const char *key, IMMDevice *dev, ...@@ -582,7 +582,7 @@ HRESULT WINAPI AUDDRV_GetAudioEndpoint(const char *key, IMMDevice *dev,
HeapFree(GetProcessHeap(), 0, This); HeapFree(GetProcessHeap(), 0, This);
WARN("Unable to open PCM \"%s\": %d (%s)\n", key, err, snd_strerror(err)); WARN("Unable to open PCM \"%s\": %d (%s)\n", key, err, snd_strerror(err));
switch(err){ switch(err){
case EBUSY: case -EBUSY:
return AUDCLNT_E_DEVICE_IN_USE; return AUDCLNT_E_DEVICE_IN_USE;
default: default:
return AUDCLNT_E_ENDPOINT_CREATE_FAILED; return AUDCLNT_E_ENDPOINT_CREATE_FAILED;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment