From bcbc1dea251f9873fc749b1167e20694442e8f8e Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Thu, 28 Jul 2011 08:23:19 -0700 Subject: Make the thread event auto-resetting --- Alc/winmm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Alc/winmm.c') diff --git a/Alc/winmm.c b/Alc/winmm.c index 63b8c2e7..c1192928 100644 --- a/Alc/winmm.c +++ b/Alc/winmm.c @@ -370,7 +370,7 @@ static ALCboolean WinMMOpenPlayback(ALCdevice *pDevice, const ALCchar *deviceNam goto failure; } - pData->hWaveThreadEvent = CreateEvent(NULL, TRUE, FALSE, NULL); + pData->hWaveThreadEvent = CreateEvent(NULL, FALSE, FALSE, NULL); if(pData->hWaveThreadEvent == NULL) { ERR("CreateEvent failed: %lu\n", GetLastError()); @@ -558,7 +558,7 @@ static ALCboolean WinMMOpenCapture(ALCdevice *pDevice, const ALCchar *deviceName goto failure; } - pData->hWaveThreadEvent = CreateEvent(NULL, TRUE, FALSE, NULL); + pData->hWaveThreadEvent = CreateEvent(NULL, FALSE, FALSE, NULL); if(pData->hWaveThreadEvent == NULL) { ERR("CreateEvent failed: %lu\n", GetLastError()); -- cgit v1.2.3