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