pub fn decode_adpcm_as_float(wav: &Wav) -> Result<Vec<f32>, AdpcmError>Expand description
Decodes the audio data into a vector of normalized f32 samples.
Samples are interleaved (e.g., L, R, L, R for stereo).
Normalized samples are in the range [-1.0, 1.0].
ยงErrors
AdpcmError::UnsupportedEncoding when the fmt chunk does not declare
MS ADPCM, AdpcmError::InvalidBlockAlign for a zero or impossible block
size, AdpcmError::InvalidCoefficients when a block names a predictor
outside the standard table, and AdpcmError::UnexpectedEof when a block
runs out before its declared sample count.