Read and validate the header of a shared PCM buffer.
Checks the magic number, the layout version, the mode and that the data
region fits in the buffer; any mismatch throws PcmHeaderError.
A ring buffer keeps changing after this call: re-read seq,
writeFrames and writeSlot through a reader rather than trusting the
returned snapshot.
Read and validate the header of a shared PCM buffer.
Checks the magic number, the layout version, the mode and that the data region fits in the buffer; any mismatch throws PcmHeaderError. A ring buffer keeps changing after this call: re-read
seq,writeFramesandwriteSlotthrough a reader rather than trusting the returned snapshot.