aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-05-16 03:16:47 -0700
committerChris Robinson <[email protected]>2011-05-16 03:16:47 -0700
commitcf3287f8ec955ea87e06897bf000b8608bc4ffc3 (patch)
treedcbeb6e41db64fa1a68d34e228622fe0c15d5fa0 /Alc
parentc5fbc9f05c8de73f7999338e66c9346675e4c6fa (diff)
Fix closing of waveOut devices
Diffstat (limited to 'Alc')
-rw-r--r--Alc/winmm.c2
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);