public void AddCuePoint(int aStart, int aEnd)
        {
            if (cue_Chunk == null)
            {
                List <CuePoint> lCuePointList = new List <CuePoint>();

                lCuePointList.Add(new CuePoint(1, ( UInt32 )aStart, "data", 0, 0, ( UInt32 )aStart));
                lCuePointList.Add(new CuePoint(2, ( UInt32 )aEnd, "data", 0, 0, ( UInt32 )aEnd));

                RiffChunkCue_ lCue_Body = new RiffChunkCue_(lCuePointList);

                AddChunk(lCue_Body);
                cue_Chunk = lCue_Body;
            }
            else
            {
                List <CuePoint> lCuePointList = cue_Chunk.cuePoints;

                lCuePointList.Add(new CuePoint(cue_Chunk.points + 1, ( UInt32 )aStart, "data", 0, 0, ( UInt32 )aStart));
                lCuePointList.Add(new CuePoint(cue_Chunk.points + 2, ( UInt32 )aEnd, "data", 0, 0, ( UInt32 )aEnd));

                RiffChunkCue_ lCue_Body = new RiffChunkCue_(lCuePointList);
                OverrideChunk(lCue_Body);
            }
        }
        public RiffChunkListWave(string aId, UInt32 aSize, ByteArray aByteArray, RiffChunkList aParent)
            : base(chunkTypeDictionary, bodyTypeDictionary, aId, aSize, aByteArray, aParent)
        {
            type = TYPE;

            cue_Chunk = ( RiffChunkCue_ )GetChunk(RiffChunkCue_.ID);
            dataChunk = ( RiffChunkData )GetChunk(RiffChunkData.ID);
            fmt_Chunk = ( RiffChunkFmt_ )GetChunk(RiffChunkFmt_.ID);
            smplChunk = ( RiffChunkSmpl )GetChunk(RiffChunkSmpl.ID);
        }