コード例 #1
0
 public void Stop()
 {
     if (checkInit())
     {
         if (isVideo)
         {
             _video.Stop();
         }
         else
         {
             _audio.Stop();
         }
     }
 }
コード例 #2
0
 /// <summary>
 /// Stop music that is currently playing and dispose of the song.
 /// Does nothing if no music is playing.
 /// </summary>
 public void Stop()
 {
     if (isPlaying)
     {
         currentSong.Stop();
         currentSong.Dispose();
         currentSong       = null;
         isPlaying         = false;
         lastMusicPosition = 0;
     }
 }
コード例 #3
0
 public override void Stop()
 {
     mAVAudio.Stop();
 }