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(); }
public void Start() { currentSong = songs[index]; Play(); }