Make the DSound and MMDevAPI events initially non-signaled

This commit is contained in:
Chris Robinson
2011-07-24 05:29:43 -07:00
parent 2f3bd5b5d9
commit c722579c18
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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;
+1 -1
View File
@@ -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;