pub fn write_wav_file( path: impl AsRef<Path>, audio: &WavAudio, format: WavSampleFormat, ) -> Result<(), ErrorsJSL>
Writes a WAV file to disk.