On Thu Jan 26 11:07:42 2023 +0000, Jinoh Kang wrote:
Looks like Windows might not immediately enter the capturing state.
ok(recog_state == SpeechRecognizerState_Capturing || recog_state == SpeechRecognizerState_Idle, "recog_state was %u.\n", recog_state);
Alternatively, loop a few times with sleep and timeout until it is no longer idle?
Yesh, i think an or with comment should suffice. Sleep waiting on the test thread doesn't seem ideal.