public override void ReadData() { CreationTime = Br.ReadUInt32(); ModificationTime = Br.ReadUInt32(); TrackId = Br.ReadUInt32(); _reserved1 = Br.ReadBytes(4); Duration = Br.ReadUInt32(); _reserved2 = Br.ReadBytes(8); Layer = Br.ReadUInt16(); AlternateGroup = Br.ReadUInt16(); Volume = Br.ReadInt16(); _reserved3 = Br.ReadBytes(2); Matrix = Matrix.FromByteBuffer(Br.BaseStream); Width = Br.ReadUInt32(); Height = Br.ReadUInt32(); }
public override void ReadData() { _dataReferenceIndex = Br.ReadUInt16(); _innerVersion = Br.ReadUInt16(); _revisionLevel = Br.ReadUInt16(); _vendor = Br.ReadUInt32(); _numberOfChannels = Br.ReadUInt16(); _sampleSizeInBits = Br.ReadUInt16(); _compressionId = Br.ReadInt16(); _packetSize = Br.ReadUInt16(); _sampleRate = Br.ReadUInt32(); if (_innerVersion == 0) { return; } _samplesPerPacket = Br.ReadUInt32(); _bytesPerPacket = Br.ReadUInt32(); _bytesPerFrame = Br.ReadUInt32(); _bytesPerSample = Br.ReadUInt32(); }