Example #1
0
 private void CloseAudioEngine()
 {
     if (AudioEngine != null)
     {
         AudioEngine.Dispose();
         AudioEngine = null;
     }
 }
Example #2
0
 private void CreateAudioEngine()
 {
     CloseAudioEngine();
     AudioEngine = new AudioPlaybackEngine();
 }