private Index lastTrackIndex(CueTrack track)
 {
     return track.Indices[track.Indices.Length - 1];
 }
 /// <summary>
 /// Add a track to the current cuesheet
 /// </summary>
 /// <param name="track">Track object to add to the cuesheet.</param>
 public void AddTrack(CueTrack track)
 {
     m_Tracks = (CueTrack[])ResizeArray(m_Tracks, m_Tracks.Length + 1);
     m_Tracks[m_Tracks.Length - 1] = track;
 }