public void Stop(AudioStopOptions options) { if (curSound != null) { curSound.Stop(); } }
public void Stop(AudioStopOptions options) { if (curSound != null) { curSound.Stop(); } paused = false; }
/// <summary>Stops playback of a Cue.</summary> /// <param name="options">Specifies if the sound should play any pending release phases or transitions before stopping.</param> public void Stop(AudioStopOptions options) { engine._activeCues.Remove(this); if (curSound != null) { curSound.Stop(options); } }
/// <summary>Stops playback of a Cue.</summary> /// <param name="options">Specifies if the sound should play any pending release phases or transitions before stopping.</param> public void Stop(AudioStopOptions options) { _engine.ActiveCues.Remove(this); if (_curSound != null) { _curSound.Stop(options); } IsPrepared = false; }