Remove empty lines from Songs (causes problems otherwise!)
Compatibility reading mode for songs with 0-based lengths Give Lines as an enumerable instead of creating an array
This commit is contained in:
1 parent
a9b3e1d3f8
commit
d498e0b935
6 files changed
+125
-25
No files matched your search
@@ -406,9 +406,9 @@ namespace Vocaluxe.Base
|
||||
}
|
||||
Players[p].SungLines.RemoveRange(deleteLine, Players[p].SungLines.Count - deleteLine);
|
||||
}
|
||||
CSong song = GetSong();
|
||||
for (int i = 0; i < GetSong().Notes.Voices[0].Lines.Length; i++)
|
||||
CLog.LogError((i + 1) + ". " + song.Notes.Voices[0].Lines[i].NoteCount + " - " + Players[0].SungLines[i].NoteCount);
|
||||
//CSong song = GetSong();
|
||||
//for (int i = 0; i < GetSong().Notes.Voices[0].Lines.Length; i++)
|
||||
// CLog.LogError((i + 1) + ". " + song.Notes.Voices[0].Lines[i].NoteCount + " - " + Players[0].SungLines[i].NoteCount);
|
||||
|
||||
CSound.SetPosition(soundStream, time);
|
||||
CVideo.Skip(vidStream, time, GetSong().VideoGap);
|
||||
|
||||
Reference in new issue
Block a user