Make the DSound and MMDevAPI events initially non-signaled
This commit is contained in:
+1
-1
@@ -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
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user