pub fn write_wav(path: &Path, pcm: &[u8]) -> Result<()>
Writes 16-bit stereo 44.1 kHz PCM bytes as a WAV file.