public void Pause() { #if WINRT _voice.Stop(); _paused = true; #else if (_sound != null) { #if ANDROID _sound.Pause(_streamId); #else _sound.Pause(); #endif soundState = SoundState.Paused; } #endif }
public void Pause() { if (complexSound) { foreach (XactClip clip in soundClips) { clip.Pause(); } } else { wave.Pause(); } }
public void Pause() { for (int i = 0; i < _tracks.Length; i++) { Sound _sound = GetSound(i); if (_sound != null) { _sound.Pause(); } } if (mUpdating) { mUpdating = false; _player.mData.bank.instances.Remove(this); } }
public void Pause() { _sound.Pause(); _paused = true; }
public override void Pause() { wave.Pause(); }