示例#1
0
 public void Stop(AudioStopOptions options)
 {
     if (curSound != null)
     {
         curSound.Stop();
     }
 }
示例#2
0
 public void Stop(AudioStopOptions options)
 {
     if (curSound != null)
     {
         curSound.Stop();
     }
     paused = false;
 }
示例#3
0
        /// <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);
            }
        }
示例#4
0
        /// <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;
        }