Function write_wav
pub fn write_wav(path: &Path, audio: &Audio) -> Result<(), Error>Expand description
Writes audio to path as a WAV file of 32-bit float samples. Each
sample rounds to the nearest f32.
ยงErrors
Returns the I/O error of the write, or io::ErrorKind::InvalidInput
for audio too long for the 4 GB size field of a WAV file or too fast
for its 32-bit byte-rate field.