summaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
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);