public void Pause(float fadeOutTime) { if (Sequencer != null) { Sequencer.Pause(fadeOutTime); } }
public void Pause() { if (state == PlayState.Stopped) { return; } if (state == PlayState.Playing) { sequencer.Pause(fadeOutTime); state = PlayState.Paused; } else if (state == PlayState.Prepareing) { state = PlayState.Suspended; } }