예제 #1
0
 /// <summary>
 /// Stop playing beat
 /// </summary>
 public void StopPlayingBeat()
 {
     if (Beat != null)
     {
         SoundMixer.RemoveInputStream(Beat.Channel);
         Beat.Dispose();
     }
     Beat        = null;
     BeatPlaying = false;
 }