Realm

oa::audio::decode_file_on

Decode one supported file and upload planar FP32 samples on a particular runtime. This is the decode_file contract evaluated on runtime instead of this thread’s default runtime. Errors Returns the same errors as decode_file.

FnRust public API

Function Documentation

pub fn decode_file_on( runtime: &Runtime, path: impl AsRef<Path> ) -> Result<Audio>
Decode one supported file and upload planar FP32 samples on a particular runtime. This is the decode_file contract evaluated on runtime instead of this thread’s default runtime. Errors Returns the same errors as decode_file.