Fix closing of waveOut devices

This commit is contained in:
Chris Robinson
2011-05-16 03:16:47 -07:00
parent c5fbc9f05c
commit cf3287f8ec
+1 -1
View File
@@ -416,7 +416,7 @@ static void WinMMClosePlayback(ALCdevice *device)
CloseHandle(pData->hWaveHdrEvent);
pData->hWaveHdrEvent = 0;
waveInClose(pData->hWaveHandle.In);
waveOutClose(pData->hWaveHandle.Out);
pData->hWaveHandle.In = 0;
free(pData);