// ------------------------------------------ // Audio Management // ------------------------------------------ public override void HandleAudioSource(string device, Stream stream, string format, string language, double confidence) { base.HandleAudioSource(device, stream, format, language, confidence); SpeechManager.GetInstance().AddSpeechEngine(stream, format, device, language, confidence); }
public static SpeechManager GetInstance() { if (manager == null) { manager = new SpeechManager(); } return manager; }
public override void Dispose() { base.Dispose(); GrammarManager.GetInstance().Dispose(); SpeechManager.GetInstance().Dispose(); }