pub fn read_header_setup(
    packet: &[u8],
    audio_channels: u8,
    blocksizes: (u8, u8)
) -> Result<SetupHeader, HeaderReadError>
Expand description

Reading the setup header.

The audio channel and blocksize info needed by the function can be obtained from the ident header.