Enum nih_plug::plugin::ProcessStatus
source · pub enum ProcessStatus {
Error(&'static str),
Normal,
Tail(u32),
KeepAlive,
}
Expand description
Indicates the current situation after the plugin has processed audio.
Variants§
Error(&'static str)
Something went wrong while processing audio.
Normal
The plugin has finished processing audio. When the input is silent, the most may suspend the plugin to save resources as it sees fit.
Tail(u32)
The plugin has a (reverb) tail with a specific length in samples.
KeepAlive
This plugin will continue to produce sound regardless of whether or not the input is silent, and should thus not be deactivated by the host. This is essentially the same as having an infinite tail.
Trait Implementations§
source§impl Clone for ProcessStatus
impl Clone for ProcessStatus
source§fn clone(&self) -> ProcessStatus
fn clone(&self) -> ProcessStatus
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 ProcessStatus
impl Debug for ProcessStatus
source§impl PartialEq<ProcessStatus> for ProcessStatus
impl PartialEq<ProcessStatus> for ProcessStatus
source§fn eq(&self, other: &ProcessStatus) -> bool
fn eq(&self, other: &ProcessStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ProcessStatus
impl Eq for ProcessStatus
impl StructuralEq for ProcessStatus
impl StructuralPartialEq for ProcessStatus
Auto Trait Implementations§
impl RefUnwindSafe for ProcessStatus
impl Send for ProcessStatus
impl Sync for ProcessStatus
impl Unpin for ProcessStatus
impl UnwindSafe for ProcessStatus
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