/// <summary> /// Constructor. Used for unit testing. /// </summary> /// <param name="engine">Speech recognition engine</param> internal AudioRecognizer(ISpeechRecognitionEngine engine) : base() { Initialize(); speechEngine = engine; }
/// <summary> /// Constructor. /// </summary> public AudioRecognizer() : base() { Initialize(); speechEngine = new SpeechRecognitionEngineWrapper(); }