Commit 4f824a50 authored by Bernhard Kölbl's avatar Bernhard Kölbl Committed by Alexandre Julliard

windows.media.speech/tests: Allow recognizer state to be idle during active recognition session.

parent e8b0c923
......@@ -1772,7 +1772,7 @@ static void test_Recognition(void)
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_Capturing, "recog_state was %u.\n", recog_state);
ok(recog_state == SpeechRecognizerState_Capturing || broken(recog_state == SpeechRecognizerState_Idle), "recog_state was %u.\n", recog_state);
/*
* TODO: Use a loopback device together with prerecorded audio files to test the recognizer's functionality.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment