Exemple #1
0
 internal FmodSound(PluginControl pc)
     : base(pc)
 {
     playing      = new AutoResetEvent(false);
     speechPlayer = new METAbolt.Media.Speech();
     speechPlayer.OnSpeechDone += new Speech.SpeechDoneCallback(SpeechDoneHandler);
 }
Exemple #2
0
 // TODO do we need this?
 protected void Dispose(bool disposing)
 {
     if (disposing)
     {
         if (speechPlayer != null)
         {
             speechPlayer.Stop();
             speechPlayer = null;
         }
     }
 }