Stop() 공개 메소드

Stop playing the sound. This function stops the sound if it was playing or paused, and does nothing if it was already stopped. It also resets the playing position (unlike pause()).
public Stop ( ) : void
리턴 void
예제 #1
0
 /// <summary>
 /// Stops this <see cref="IAudioStreamImp" />.
 /// </summary>
 public void Stop()
 {
     if (IsStream)
     {
         _outputStream.Stop();
     }
     else
     {
         _outputSound.Stop();
     }
 }
예제 #2
0
 /// <summary>
 /// Stop the sound.
 /// </summary>
 public void Stop()
 {
     sound.Stop();
 }