pub struct CompressorProcessor { /* private fields */ }
Implementations
Trait Implementations
sourceimpl AudioProcessor for CompressorProcessor
impl AudioProcessor for CompressorProcessor
type SampleType = f32
sourcefn prepare(&mut self, settings: AudioProcessorSettings)
fn prepare(&mut self, settings: AudioProcessorSettings)
Prepare for playback based on current audio settings
sourcefn process<BufferType: AudioBuffer<SampleType = Self::SampleType>>(
&mut self,
data: &mut BufferType
)
fn process<BufferType: AudioBuffer<SampleType = Self::SampleType>>(
&mut self,
data: &mut BufferType
)
Process a block of samples by mutating the input
AudioBuffer
Auto Trait Implementations
impl RefUnwindSafe for CompressorProcessor
impl Send for CompressorProcessor
impl Sync for CompressorProcessor
impl Unpin for CompressorProcessor
impl UnwindSafe for CompressorProcessor
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more