pub fn decode(name: &str, bytes: &[u8]) -> Result<Vec<i16>, String>
The mono samples of the audio file bytes named name (.wav, or else OGG Vorbis), at SAMPLE_RATE: a stereo file’s channels are averaged.
bytes
name
.wav
SAMPLE_RATE