mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-01 00:03:38 +00:00
winealsa: Fix -errno typo.
This commit is contained in:
parent
7c52a257fb
commit
594002d011
|
@ -582,7 +582,7 @@ HRESULT WINAPI AUDDRV_GetAudioEndpoint(const char *key, IMMDevice *dev,
|
|||
HeapFree(GetProcessHeap(), 0, This);
|
||||
WARN("Unable to open PCM \"%s\": %d (%s)\n", key, err, snd_strerror(err));
|
||||
switch(err){
|
||||
case EBUSY:
|
||||
case -EBUSY:
|
||||
return AUDCLNT_E_DEVICE_IN_USE;
|
||||
default:
|
||||
return AUDCLNT_E_ENDPOINT_CREATE_FAILED;
|
||||
|
|
Loading…
Reference in a new issue