R��mi Bernon (@rbernon) commented about dlls/windows.media.speech/recognizer.c:
{
- FIXME("iface %p stub!\n", iface);
- return E_NOTIMPL;
- struct session *impl = impl_from_ISpeechContinuousRecognitionSession(iface);
- TRACE("iface %p stub!\n", iface);
- EnterCriticalSection(&impl->cs);
- if (impl->session_thread && impl->session_running && impl->session_paused)
- {
impl->session_paused = FALSE;
LeaveCriticalSection(&impl->cs);
SetEvent(impl->session_resume_event);
- }
- else LeaveCriticalSection(&impl->cs);
That would be instead: ```c++ EnterCriticalSection(&impl->cs); if (impl->session_running) impl->session_paused = FALSE; LeaveCriticalSection(&impl->cs); WakeConditionVariable(aimpl->cv); ```