pub struct BitCrusherProcessor { /* private fields */ }Implementations
sourceimpl BitCrusherProcessor
impl BitCrusherProcessor
pub fn new(handle: Shared<BitCrusherHandle>) -> Self
pub fn handle(&self) -> &Shared<BitCrusherHandle>
Trait Implementations
sourceimpl AudioProcessor for BitCrusherProcessor
impl AudioProcessor for BitCrusherProcessor
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
AudioBuffersourceimpl AudioProcessorHandleProvider for BitCrusherProcessor
impl AudioProcessorHandleProvider for BitCrusherProcessor
fn generic_handle(&self) -> AudioProcessorHandleRef
Auto Trait Implementations
impl RefUnwindSafe for BitCrusherProcessor
impl Send for BitCrusherProcessor
impl Sync for BitCrusherProcessor
impl Unpin for BitCrusherProcessor
impl UnwindSafe for BitCrusherProcessor
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