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

        }