replace CreateEventEx by CreateEvent for Qt

This commit is contained in:
idea4good
2019-09-04 15:00:19 +08:00
parent 0072e6e3e3
commit 296db277bf

View File

@@ -214,7 +214,8 @@ void c_audio::init()
AUDIO_OUTPUT_BUF_LEN * 2, 0, &s_wav_format, 0);
CHECK_ERROR(ret);
s_audio_event = CreateEventEx(0, 0, 0, EVENT_ALL_ACCESS);
//s_audio_event = CreateEventEx(0, 0, 0, EVENT_ALL_ACCESS);
s_audio_event = CreateEvent(0, 0, 0, 0);
ret = s_audio_client->SetEventHandle(s_audio_event);
CHECK_ERROR(ret);