From cf3287f8ec955ea87e06897bf000b8608bc4ffc3 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 16 May 2011 03:16:47 -0700 Subject: Fix closing of waveOut devices --- Alc/winmm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Alc/winmm.c') 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); -- cgit v1.2.3