header.nFormatFlags = reader.readUnsignedShort();
header.nBlocksPerFrame = reader.readUnsignedInt();
header.nFinalFrameBlocks = reader.readUnsignedInt();
header.nTotalFrames = reader.readUnsignedInt();
header.nBitsPerSample = reader.readUnsignedShort();
header.nChannels = reader.readUnsignedShort();
header.nSampleRate = reader.readUnsignedInt();
return header;
} catch (EOFException e) {
throw new JMACException("Unsupported Format");
}