pub struct CompressorProcessor { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl AudioProcessor for CompressorProcessor
impl AudioProcessor for CompressorProcessor
type SampleType = f32
Source§fn prepare(&mut self, context: &mut AudioContext)
fn prepare(&mut self, context: &mut AudioContext)
Prepare for playback based on current audio settings
Source§fn process(
&mut self,
_context: &mut AudioContext,
data: &mut AudioBuffer<Self::SampleType>,
)
fn process( &mut self, _context: &mut AudioContext, data: &mut AudioBuffer<Self::SampleType>, )
Process a block of samples by mutating the input
AudioBuffer
Auto Trait Implementations§
impl Freeze for CompressorProcessor
impl RefUnwindSafe for CompressorProcessor
impl Send for CompressorProcessor
impl Sync for CompressorProcessor
impl Unpin for CompressorProcessor
impl UnwindSafe for CompressorProcessor
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