pub fn write_wav_to_vec(wav: &Wav) -> Result<Vec<u8>, WavError>
Serializes WAV data to a byte vector using WavWriteMode::Game.
WavWriteMode::Game