Jinoh Kang (@iamahuman) commented about dlls/windows.media.speech/tests/speech.c:
- /* Test, if Start/StopAsync resets the pause state. */
- hr = ISpeechContinuousRecognitionSession_StartAsync(session, &action);
- ok(hr == S_OK, "ISpeechContinuousRecognitionSession_StartAsync failed, hr %#lx.\n", hr);
- await_async_void(action, &action_handler);
- IAsyncAction_Release(action);
- hr = ISpeechContinuousRecognitionSession_PauseAsync(session, &action);
- ok(hr == S_OK, "ISpeechContinuousRecognitionSession_PauseAsync failed, hr %#lx.\n", hr);
- await_async_void(action, &action_handler);
- IAsyncAction_Release(action);
- recog_state = 0xdeadbeef;
- hr = ISpeechRecognizer2_get_State(recognizer2, &recog_state);
- ok(hr == S_OK, "ISpeechRecognizer2_get_State failed, hr %#lx.\n", hr);
- ok(recog_state == SpeechRecognizerState_Paused ||
broken(recog_state == SpeechRecognizerState_Capturing) /* Broken on Win10 1507 */ , "recog_state was %u.\n", recog_state);
Nit: the space is inconsistent with code above.
```suggestion:-0+0 broken(recog_state == SpeechRecognizerState_Capturing) /* Broken on Win10 1507 */, "recog_state was %u.\n", recog_state); ```