pub fn write_wav_bytes(audio: &Audio) -> Result<Vec<u8>, String>
Encode a complete WAV into memory for stdout and network transports.