public FormChunkListAiff(string aId, UInt32 aSize, ByteArray aByteArray, FormChunkList aParent) : base(chunkTypeDictionary, bodyTypeDictionary, aId, aSize, aByteArray, aParent) { type = TYPE; chunkChan = ( FormChunkChan )GetChunk(FormChunkChan.ID); chunkComm = ( FormChunkComm )GetChunk(FormChunkComm.ID); chunkComt = ( FormChunkComt )GetChunk(FormChunkComt.ID); chunkMark = ( FormChunkMark )GetChunk(FormChunkMark.ID); chunkSsnd = ( FormChunkSsnd )GetChunk(FormChunkSsnd.ID); }
public FormChunkComm(string aId, UInt32 aSize, ByteArray aByteArray, FormChunkList aParent) : base(aId, aSize, aByteArray, aParent) { numberOfChannels = aByteArray.ReadUInt16(); numberOfFrames = aByteArray.ReadUInt32(); bitsPerSamples = aByteArray.ReadUInt16(); sampleRate = aByteArray.ReadExtendedFloatPoint(); informationList.Add("Number Of Channels:" + numberOfChannels); informationList.Add("Number Of Frames:" + numberOfFrames); informationList.Add("Bits Per Samples:" + bitsPerSamples); informationList.Add("Sample Rate:" + sampleRate); }
public FormChunkSsnd(string aId, UInt32 aSize, ByteArray aByteArray, FormChunkList aParent) : base(aId, aSize, aByteArray, aParent) { offset = aByteArray.ReadUInt32(); blockSize = aByteArray.ReadUInt32(); comment = aByteArray.ReadString(( int )offset); dataSize = ( int )(size - offset - 8); aByteArray.AddPosition(dataSize); informationList.Add("Offset:" + offset); informationList.Add("Block Size:" + blockSize); informationList.Add("Comment:" + comment); }
public FormChunkChan(string aId, UInt32 aSize, ByteArray aByteArray, FormChunkList aParent) : base(aId, aSize, aByteArray, aParent) { aByteArray.AddPosition(( int )size); }
public FormAiffMark(string aId, UInt32 aSize, AByteArray aByteArray, FormChunkList aParent) : base(aId, aSize, aByteArray, aParent) { aByteArray.AddPosition(( int )Size); }
public FormAiffForm(string aId, UInt32 aSize, AByteArray aByteArray, FormChunkList aParent) : base(aId, aSize, aByteArray, aParent) { }