예제 #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
파일: Cue.cs 프로젝트: Breadmouth/Gravitas
        /// <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;
        }