pub fn decode_memory(encoded: &[u8]) -> Result<Audio>Expand description
Decode one supported in-memory media stream and upload planar FP32 samples on this thread’s default runtime.
§Errors
Returns an error when the default runtime cannot be initialized or for empty, unsupported, malformed, or parameter-changing media, empty decoded audio, checked-size overflow, or device allocation/upload failure.