Exemplo n.º 1
0
 public void Pause()
 {
     lock (sound)
     {
         sound.Pause();
         RefreshPlaybackState();
     }
 }
Exemplo n.º 2
0
        public void Pause()
        {
            lock (sound)
            {
                if (sound.CurrentSubSoundIndex != -1 && sound.CurrentSubSound != null)
                {
                    sound.CurrentSubSound.Pause();
                }
                else
                {
                    sound.Pause();
                }

                RefreshPlaybackState();
            }
        }