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:
Flamefire committed 2013-10-11 19:19:42 +02:00
1 parent a9b3e1d3f8
commit d498e0b935
6 files changed
+125 -25

No files matched your search

+2 -2
View File
@@ -70,9 +70,9 @@ namespace VocaluxeLib.Songs
VoiceNames = new CVoiceNames(notes.VoiceNames);
}
public CVoice[] Voices
public IEnumerable<CVoice> Voices
{
get { return _Voices.ToArray(); }
get { return _Voices; }
}
public int VoiceCount