aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-07-28 08:23:19 -0700
committerChris Robinson <[email protected]>2011-07-28 08:23:19 -0700
commitbcbc1dea251f9873fc749b1167e20694442e8f8e (patch)
tree22c2eb876fca160a291b645504c8dacd810a5e59 /Alc
parentc8326ab3284d43fab84f2aa13da2c55a378d2a3a (diff)
Make the thread event auto-resetting
Diffstat (limited to 'Alc')
-rw-r--r--Alc/winmm.c4
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());