pub struct BitCrusherProcessorImpl<ST = f32>where
ST: AtomicFloatRepresentable + Float,{ /* private fields */ }Implementations§
Trait Implementations§
source§impl<ST> AudioProcessor for BitCrusherProcessorImpl<ST>
impl<ST> AudioProcessor for BitCrusherProcessorImpl<ST>
type SampleType = ST
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
AudioBuffersource§impl<ST> AudioProcessorHandleProvider for BitCrusherProcessorImpl<ST>
impl<ST> AudioProcessorHandleProvider for BitCrusherProcessorImpl<ST>
fn generic_handle(&self) -> AudioProcessorHandleRef
Auto Trait Implementations§
impl<ST> RefUnwindSafe for BitCrusherProcessorImpl<ST>where
<ST as AtomicFloatRepresentable>::AtomicType: RefUnwindSafe,
impl<ST> Send for BitCrusherProcessorImpl<ST>
impl<ST> Sync for BitCrusherProcessorImpl<ST>
impl<ST> Unpin for BitCrusherProcessorImpl<ST>where
<ST as AtomicFloatRepresentable>::AtomicType: Unpin,
impl<ST> UnwindSafe for BitCrusherProcessorImpl<ST>where
<ST as AtomicFloatRepresentable>::AtomicType: UnwindSafe + RefUnwindSafe,
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