pub enum ProcessStatus {
Continue,
Sleep,
Tail {
tail_samples: u32,
},
Error,
}Expand description
Hint from the plugin about whether more output is coming.
Mirrors CLAP’s clap_process_status. Hosts use the hint to
decide whether to keep calling process on an idle channel.
Variants§
Continue
Normal output — the plugin has more work in subsequent blocks regardless of input. Default for live processing.
Sleep
The plugin has no output and won’t produce any until
fresh input or events arrive. Host may skip process
calls until then.
Tail
Tail-out — the plugin will keep producing audio for
tail_samples more samples even with silent input
(reverb, delay).
Error
Hard error during processing. Wrapper logs and the host should treat the block’s output as garbage (silence is a safer fallback for live audio).
Trait Implementations§
Source§impl Clone for ProcessStatus
impl Clone for ProcessStatus
Source§fn clone(&self) -> ProcessStatus
fn clone(&self) -> ProcessStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ProcessStatus
Source§impl Debug for ProcessStatus
impl Debug for ProcessStatus
impl Eq for ProcessStatus
Source§impl PartialEq for ProcessStatus
impl PartialEq for ProcessStatus
Source§fn eq(&self, other: &ProcessStatus) -> bool
fn eq(&self, other: &ProcessStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ProcessStatus
Auto Trait Implementations§
impl Freeze for ProcessStatus
impl RefUnwindSafe for ProcessStatus
impl Send for ProcessStatus
impl Sync for ProcessStatus
impl Unpin for ProcessStatus
impl UnsafeUnpin 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