Beispiel #1
0
        public void changeTrackList(List<MSong> tracklist)
        {
            currentSong.SongWaveInstance.Stop();

            currentSong = null;
            this.songs = null;
            this.songs = new List<MSong>();
            foreach (MSong s in tracklist)
            {
                this.songs.Add(s);
            }

            this.index = 0;
            //init();
            Start();
        }
Beispiel #2
0
 public void Start()
 {
     currentSong = songs[index];
     Play();
 }