public void StartRecognition(SilenceTimeout silenceTimeouts) { IsRunning = true; _confidenceSum = 0; _number = 1; setSilenceTimeouts(silenceTimeouts); if (RecognizeAsync) { _sre.RecognizeAsync(RecognizeMode.Multiple); } else { _sre.Recognize(); } }
public void StartRecognition(SilenceTimeout silenceTimeouts) { IsRunning = true; _confidenceSum = 0; _number = 1; setSilenceTimeouts(silenceTimeouts); if (RecognizeAsync) { _sre.RecognizeAsync(RecognizeMode.Multiple); } else { _sre.Recognize(); } }