pub struct OfflineRenderOptions<'a, Processor: StandaloneProcessor> {
pub app: Processor,
pub handle: Option<&'a Handle>,
pub input_path: &'a str,
pub output_path: &'a str,
pub midi_input_file: Option<MIDIFile<String, Vec<u8>>>,
}
Expand description
Offline rendering options
Fields§
§app: Processor
The audio/MIDI processor
handle: Option<&'a Handle>
GC handle, see https://crates.io/crates/audio-garbage-collector
input_path: &'a str
Input audio file path
output_path: &'a str
Output audio file path
midi_input_file: Option<MIDIFile<String, Vec<u8>>>
MIDI input file path
Auto Trait Implementations§
impl<'a, Processor> Freeze for OfflineRenderOptions<'a, Processor>where
Processor: Freeze,
impl<'a, Processor> RefUnwindSafe for OfflineRenderOptions<'a, Processor>where
Processor: RefUnwindSafe,
impl<'a, Processor> Send for OfflineRenderOptions<'a, Processor>
impl<'a, Processor> Sync for OfflineRenderOptions<'a, Processor>where
Processor: Sync,
impl<'a, Processor> Unpin for OfflineRenderOptions<'a, Processor>where
Processor: Unpin,
impl<'a, Processor> UnwindSafe for OfflineRenderOptions<'a, Processor>where
Processor: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more