pub fn read_sf2_presets(bytes: &[u8]) -> Result<Sf2Presets, AudioError>Expand description
Parse a .sf2 byte buffer and enumerate its presets.
Errors: AudioError::UnsupportedFormat if the buffer is not a RIFF sfbk SoundFont;
AudioError::MalformedAudio if a chunk header or phdr record is truncated.