You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to use hound from my application in such a way:
let data: Vec<u8> = wav_file_received_over_the_network;
let reader = match hound::WavReader::new(&data[..])
Hound fails with:
Ill-formed WAVE file: data chunk length is not a multiple of sample size
When dumping that data to file and attempting to use the rms example on it, hound fails in a similar way:
thread 'main' panicked at examples/rms.rs:31:34:
called `Result::unwrap()` on an `Err` value: IoError(Custom { kind: Other, error: "Failed to read enough bytes." })
The file plays back just fine with vlc, you can download it here: <www.mathieudu.com/misc/tmp.wav>
The text was updated successfully, but these errors were encountered:
When trying to use hound from my application in such a way:
Hound fails with:
When dumping that data to file and attempting to use the rms example on it, hound fails in a similar way:
The file plays back just fine with
vlc
, you can download it here: <www.mathieudu.com/misc/tmp.wav>The text was updated successfully, but these errors were encountered: