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