예제 #1
0
 private void PlayMusic(ISoundTrack track)
 {
     if (track.Equals(currentTrack) && MediaPlayer.State != MediaState.Stopped)
     {
         return;
     }
     MediaPlayer.Stop();
     track.Play();
     MediaPlayer.IsRepeating = true;
     currentTrack            = track;
 }
예제 #2
0
		public void Add(ISoundTrack track)
		{
			mTracks.Add (track);

		}