pub fn parse_wav_header(head: &[u8]) -> Option<AudioFormat>Expand description
Read a RIFF/WAVE header, returning the sample layout and where data starts.
Walks the chunk list rather than assuming the canonical 44-byte layout,
because real files carry LIST, fact and other chunks before data.