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