pub struct PassthroughDsp;Expand description
Passthrough processor - does not modify the audio signal.
This processor is useful for:
- Testing signal chain composition
- Placeholder in development
- Bypass functionality
Trait Implementations§
Source§impl Debug for PassthroughDsp
impl Debug for PassthroughDsp
Source§impl Default for PassthroughDsp
impl Default for PassthroughDsp
Source§fn default() -> PassthroughDsp
fn default() -> PassthroughDsp
Returns the “default value” for a type. Read more
Source§impl Processor for PassthroughDsp
impl Processor for PassthroughDsp
Source§type Params = PassthroughParams
type Params = PassthroughParams
Associated parameter type for this processor. Read more
Source§fn process(
&mut self,
_buffer: &mut [&mut [f32]],
_transport: &Transport,
_params: &<PassthroughDsp as Processor>::Params,
)
fn process( &mut self, _buffer: &mut [&mut [f32]], _transport: &Transport, _params: &<PassthroughDsp as Processor>::Params, )
Process a buffer of audio samples. Read more
Source§fn set_sample_rate(&mut self, _sample_rate: f32)
fn set_sample_rate(&mut self, _sample_rate: f32)
Called when the sample rate changes. Read more
Auto Trait Implementations§
impl Freeze for PassthroughDsp
impl RefUnwindSafe for PassthroughDsp
impl Send for PassthroughDsp
impl Sync for PassthroughDsp
impl Unpin for PassthroughDsp
impl UnwindSafe for PassthroughDsp
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