Commit 4b0a2f86 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

wineoss.drv: 2 more close(mixer) added.

parent 2c190ab4
......@@ -143,6 +143,7 @@ static DWORD AUX_GetVolume(WORD wDevID, LPDWORD lpdwVol)
break;
default:
WARN("invalid device id=%04X !\n", wDevID);
close(mixer);
return MMSYSERR_NOTENABLED;
}
if (ioctl(mixer, cmd, &volume) == -1) {
......@@ -205,6 +206,7 @@ static DWORD AUX_SetVolume(WORD wDevID, DWORD dwParam)
break;
default:
WARN("invalid device id=%04X !\n", wDevID);
close(mixer);
return MMSYSERR_NOTENABLED;
}
if (ioctl(mixer, cmd, &volume) == -1) {
......
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