// play \ pause private void DButtonPlayPause_MouseDown(object sender, System.Windows.Input.MouseButtonEventArgs e) { if (soundEngine.IS_PLAY == false) { soundEngine.Play(); ButtonPlayPause.SetIconPlay(); } else { soundEngine.Pause(); ButtonPlayPause.SetIconPause(); } }
public void StopSoundEngine() { //SoundEngine.PlayPause(0); SoundEngine.Pause(); }