//fmtChunk ReadFormatHeader() - 2004 July 28 //Again, not much to say. public fmtChunk ReadFormatHeader() { format = new fmtChunk(); format.Subchunk1ID = new String(reader.ReadChars(4)); format.Subchunk1Size = reader.ReadUInt32(); format.AudioFormat = reader.ReadUInt16(); format.NumChannels = reader.ReadUInt16(); format.SampleRate = reader.ReadUInt32(); format.ByteRate = reader.ReadUInt32(); format.BlockAlign = reader.ReadUInt16(); format.BitsPerSample = reader.ReadUInt16(); return(format); }
//fmtChunk ReadFormatHeader() - 2004 July 28 //Again, not much to say. public fmtChunk ReadFormatHeader() { format = new fmtChunk(); format.Subchunk1ID = new String(reader.ReadChars(4)); format.Subchunk1Size = reader.ReadUInt32(); format.AudioFormat = reader.ReadUInt16(); format.NumChannels = reader.ReadUInt16(); format.SampleRate = reader.ReadUInt32(); format.ByteRate = reader.ReadUInt32(); format.BlockAlign = reader.ReadUInt16(); format.BitsPerSample = reader.ReadUInt16(); return format; }