Skip to main content

load_audio_bytes

Function load_audio_bytes 

Source
pub fn load_audio_bytes(data: &[u8]) -> Result<Vec<f32>>
Expand description

Load audio from raw bytes (used by the HTTP multipart endpoint).

Content-sniffs the format; supports the same codec set as load_audio.