12 Jan
2023
12 Jan
'23
6:47 p.m.
Jinoh Kang (@iamahuman) commented about dlls/windows.media.speech/recognizer.c:
+ IAudioClient_GetBufferSize(impl->audio_client, &frame_count); + FIXME("frame_count %u.\n", frame_count); + + EnterCriticalSection(&impl->cs); + running = impl->worker_running; + LeaveCriticalSection(&impl->cs); + + while (running) + { + BOOLEAN old_paused = paused; + UINT32 count = 0; + + events[count++] = impl->worker_control_event; + if (!paused) events[count++] = impl->audio_buf_event; + + status = WaitForMultipleObjects(ARRAY_SIZE(events), events, FALSE, INFINITE);
status = WaitForMultipleObjects(count, events, FALSE, INFINITE);
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/729#note_20769