fn parse_wav(buf: &[u8]) -> Option<Pcm>Expand description
Pull format and samples out of a RIFF/WAVE buffer.
ffmpeg writes a placeholder size when the output is a pipe, so the
declared data length is not trustworthy — whatever follows the
chunk header is the audio.