예제 #1
0
        // ------------------------------------------
        //  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;
 }
예제 #3
0
 public override void Dispose()
 {
     base.Dispose();
     GrammarManager.GetInstance().Dispose();
     SpeechManager.GetInstance().Dispose();
 }