diff options
author | Chris Robinson <[email protected]> | 2011-05-16 03:16:47 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2011-05-16 03:16:47 -0700 |
commit | cf3287f8ec955ea87e06897bf000b8608bc4ffc3 (patch) | |
tree | dcbeb6e41db64fa1a68d34e228622fe0c15d5fa0 | |
parent | c5fbc9f05c8de73f7999338e66c9346675e4c6fa (diff) |
Fix closing of waveOut devices
-rw-r--r-- | Alc/winmm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/winmm.c b/Alc/winmm.c index 568d0f84..bdccdbfc 100644 --- a/Alc/winmm.c +++ b/Alc/winmm.c @@ -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); |