Struct audio_processor_file::AudioFileProcessor
source · [−]pub struct AudioFileProcessor { /* private fields */ }
Implementations
pub fn from_path(
handle: &Handle,
audio_settings: AudioProcessorSettings,
path: &str
) -> Result<Self, AudioFileError>
pub fn new(
gc_handle: &Handle,
audio_file_settings: AudioFileSettings,
audio_settings: AudioProcessorSettings
) -> Self
Unsafe get buffer for offline rendering
Prepares for playback
Note: Currently this will load the audio file on the audio-thread. It’d be an interesting exercise to perform this on a background thread.
Whether the file is being played back
Auto Trait Implementations
impl !RefUnwindSafe for AudioFileProcessor
impl Send for AudioFileProcessor
impl !Sync for AudioFileProcessor
impl Unpin for AudioFileProcessor
impl !UnwindSafe for AudioFileProcessor
Blanket Implementations
Mutably borrows from an owned value. Read more