Example #1
0
 // 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();
     }
 }
Example #2
0
 public void StopSoundEngine()
 {
     //SoundEngine.PlayPause(0);
     SoundEngine.Pause();
 }