diff options
author | Chris Robinson <[email protected]> | 2011-07-28 08:16:09 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2011-07-28 08:16:09 -0700 |
commit | 91c6bc58dcf9f3a6b7ae00c368e5bcfdc8dd7b3e (patch) | |
tree | 2cdbaeb5dd7cddbbbd56426b9e8d63e382aeca09 /Alc/winmm.c | |
parent | c722579c18eaf23e7ea98a2f12c8c8fa4aedd1a4 (diff) |
Use unnamed events for winmm
Diffstat (limited to 'Alc/winmm.c')
-rw-r--r-- | Alc/winmm.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Alc/winmm.c b/Alc/winmm.c index 69c58e13..bbe0057b 100644 --- a/Alc/winmm.c +++ b/Alc/winmm.c @@ -379,8 +379,8 @@ static ALCboolean WinMMOpenPlayback(ALCdevice *pDevice, const ALCchar *deviceNam goto failure; } - pData->hWaveHdrEvent = CreateEvent(NULL, AL_TRUE, AL_FALSE, "WaveOutAllHeadersReturned"); - pData->hWaveThreadEvent = CreateEvent(NULL, AL_TRUE, AL_FALSE, "WaveOutThreadDestroyed"); + pData->hWaveHdrEvent = CreateEvent(NULL, TRUE, FALSE, NULL); + pData->hWaveThreadEvent = CreateEvent(NULL, TRUE, FALSE, NULL); if(pData->hWaveHdrEvent == NULL || pData->hWaveThreadEvent == NULL) { ERR("CreateEvent failed: %lu\n", GetLastError()); @@ -576,8 +576,8 @@ static ALCboolean WinMMOpenCapture(ALCdevice *pDevice, const ALCchar *deviceName goto failure; } - pData->hWaveHdrEvent = CreateEvent(NULL, AL_TRUE, AL_FALSE, "WaveInAllHeadersReturned"); - pData->hWaveThreadEvent = CreateEvent(NULL, AL_TRUE, AL_FALSE, "WaveInThreadDestroyed"); + pData->hWaveHdrEvent = CreateEvent(NULL, TRUE, FALSE, NULL); + pData->hWaveThreadEvent = CreateEvent(NULL, TRUE, FALSE, NULL); if(pData->hWaveHdrEvent == NULL || pData->hWaveThreadEvent == NULL) { ERR("CreateEvent failed: %lu\n", GetLastError()); |