aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-07-24 05:29:43 -0700
committerChris Robinson <[email protected]>2011-07-24 05:29:43 -0700
commitc722579c18eaf23e7ea98a2f12c8c8fa4aedd1a4 (patch)
tree0555aa3d779815fa73b33f5840f9b48799bca60e
parent2f3bd5b5d9937e9e45e926bceb48ea51b4012a9d (diff)
Make the DSound and MMDevAPI events initially non-signaled
-rw-r--r--Alc/dsound.c2
-rw-r--r--Alc/mmdevapi.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/Alc/dsound.c b/Alc/dsound.c
index b1312373..42139f3c 100644
--- a/Alc/dsound.c
+++ b/Alc/dsound.c
@@ -311,7 +311,7 @@ static ALCboolean DSoundOpenPlayback(ALCdevice *device, const ALCchar *deviceNam
}
hr = DS_OK;
- pData->hNotifyEvent = CreateEvent(NULL, FALSE, TRUE, NULL);
+ pData->hNotifyEvent = CreateEvent(NULL, FALSE, FALSE, NULL);
if(pData->hNotifyEvent == NULL)
hr = E_FAIL;
diff --git a/Alc/mmdevapi.c b/Alc/mmdevapi.c
index ffbbf963..ffae9745 100644
--- a/Alc/mmdevapi.c
+++ b/Alc/mmdevapi.c
@@ -222,7 +222,7 @@ static ALCboolean MMDevApiOpenPlayback(ALCdevice *device, const ALCchar *deviceN
}
hr = S_OK;
- data->hNotifyEvent = CreateEvent(NULL, FALSE, TRUE, NULL);
+ data->hNotifyEvent = CreateEvent(NULL, FALSE, FALSE, NULL);
if(data->hNotifyEvent == NULL)
hr = E_FAIL;