Ejemplo n.º 1
0
 public void RemoveIndex(int indexIndex)
 {
     for (int i = indexIndex; i < m_Indices.Length - 1; i++)
     {
         m_Indices[i] = m_Indices[i + 1];
     }
     m_Indices = (Index[])CueSheet.ResizeArray(m_Indices, m_Indices.Length - 1);
 }
Ejemplo n.º 2
0
 public void AddGarbage(string garbage)
 {
     if (garbage.Trim() != "")
     {
         m_Garbage = (string[])CueSheet.ResizeArray(m_Garbage, m_Garbage.Length + 1);
         m_Garbage[m_Garbage.Length - 1] = garbage;
     }
 }
Ejemplo n.º 3
0
 public void AddComment(string comment)
 {
     if (comment.Trim() != "")
     {
         m_Comments = (string[])CueSheet.ResizeArray(m_Comments, m_Comments.Length + 1);
         m_Comments[m_Comments.Length - 1] = comment;
     }
 }
Ejemplo n.º 4
0
 public void AddFlag(Flags flag)
 {
     //if it's not a none tag
     //and if the tags hasn't already been added
     if (flag != Flags.NONE && NewFlag(flag) == true)
     {
         m_TrackFlags = (Flags[])CueSheet.ResizeArray(m_TrackFlags, m_TrackFlags.Length + 1);
         m_TrackFlags[m_TrackFlags.Length - 1] = flag;
     }
 }
Ejemplo n.º 5
0
        public void AddIndex(int number, int minutes, int seconds, int frames)
        {
            m_Indices = (Index[])CueSheet.ResizeArray(m_Indices, m_Indices.Length + 1);

            m_Indices[m_Indices.Length - 1] = new Index(number, minutes, seconds, frames);
        }