Beispiel #1
0
 private void setTrackFromPath()
 {
     if (CurrentSongInfo != null && CurrentSongInfo.TrackInfos != null)
     {
         SelectedRockSmithTrack = GuitarPath.pickTrack(CurrentSongInfo.TrackInfos);
     }
 }
 private RSTrackInfo testPathWithTracks(string pathName, string[] tracks)
 {
     GuitarPath path = new GuitarPath(pathName);
     var trackList = new List<RSTrackInfo>();
     foreach(var track in tracks)
     {
         trackList.Add(new RSTrackInfo() { Name = track });
     }
     return path.pickTrack(trackList);
 }
Beispiel #3
0
        private RSTrackInfo testPathWithTracks(string pathName, string[] tracks)
        {
            GuitarPath path      = new GuitarPath(pathName);
            var        trackList = new List <RSTrackInfo>();

            foreach (var track in tracks)
            {
                trackList.Add(new RSTrackInfo()
                {
                    Name = track
                });
            }
            return(path.pickTrack(trackList));
        }