Enum nih_plug::audio_setup::ProcessMode
source · pub enum ProcessMode {
Realtime,
Buffered,
Offline,
}
Expand description
The plugin’s current processing mode. Exposed through BufferConfig::process_mode
. The host
will reinitialize the plugin whenever this changes.
Variants§
Realtime
The plugin is processing audio in real time at a fixed rate.
Buffered
The plugin is processing audio at a real time-like pace, but at irregular intervals. The host may do this to process audio ahead of time to loosen realtime constraints and to reduce the chance of xruns happening. This is only used by VST3.
Offline
The plugin is rendering audio offline, potentially faster than realtime (‘freewheeling’). The host will continuously call the process function back to back until all audio has been processed.
Trait Implementations§
source§impl Clone for ProcessMode
impl Clone for ProcessMode
source§fn clone(&self) -> ProcessMode
fn clone(&self) -> ProcessMode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ProcessMode
impl Debug for ProcessMode
source§impl PartialEq<ProcessMode> for ProcessMode
impl PartialEq<ProcessMode> for ProcessMode
source§fn eq(&self, other: &ProcessMode) -> bool
fn eq(&self, other: &ProcessMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ProcessMode
impl Eq for ProcessMode
impl StructuralEq for ProcessMode
impl StructuralPartialEq for ProcessMode
Auto Trait Implementations§
impl RefUnwindSafe for ProcessMode
impl Send for ProcessMode
impl Sync for ProcessMode
impl Unpin for ProcessMode
impl UnwindSafe for ProcessMode
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