pub struct Compressor { /* private fields */ }Implementations§
Source§impl Compressor
impl Compressor
Trait Implementations§
Source§impl Default for Compressor
impl Default for Compressor
Source§impl DspNode for Compressor
impl DspNode for Compressor
Source§fn process(
&mut self,
inputs: &[Option<&[f32; 64]>; 8],
output: &mut [f32; 64],
params: &mut ParamBlock,
sample_rate: f32,
)
fn process( &mut self, inputs: &[Option<&[f32; 64]>; 8], output: &mut [f32; 64], params: &mut ParamBlock, sample_rate: f32, )
Process one buffer of audio. Read more
Source§fn type_name(&self) -> &'static str
fn type_name(&self) -> &'static str
Human-readable node type name (for serialization/UI). Read more
Source§fn capture_state(&self) -> StateBlob
fn capture_state(&self) -> StateBlob
Capture internal state for continuity transfer. Read more
Source§fn restore_state(&mut self, _state: StateBlob)
fn restore_state(&mut self, _state: StateBlob)
Restore internal state after a graph mutation. Read more
Auto Trait Implementations§
impl Freeze for Compressor
impl RefUnwindSafe for Compressor
impl Send for Compressor
impl Sync for Compressor
impl Unpin for Compressor
impl UnsafeUnpin for Compressor
impl UnwindSafe for Compressor
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<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