Exemplo n.º 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();
        }
Exemplo n.º 2
0
 public void Start()
 {
     currentSong = songs[index];
     Play();
 }