diff options
author | Chris Robinson <[email protected]> | 2011-07-28 08:23:19 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2011-07-28 08:23:19 -0700 |
commit | bcbc1dea251f9873fc749b1167e20694442e8f8e (patch) | |
tree | 22c2eb876fca160a291b645504c8dacd810a5e59 /Alc | |
parent | c8326ab3284d43fab84f2aa13da2c55a378d2a3a (diff) |
Make the thread event auto-resetting
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/winmm.c | 4 |
1 files changed, 2 insertions, 2 deletions
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()); |