pub struct NoopAudioProcessor<SampleType>(_);
Expand description
An audio-processor which doesn’t do any work.
Implementations
sourceimpl<SampleType> NoopAudioProcessor<SampleType>
impl<SampleType> NoopAudioProcessor<SampleType>
Trait Implementations
sourceimpl<SampleType> Default for NoopAudioProcessor<SampleType>
impl<SampleType> Default for NoopAudioProcessor<SampleType>
sourceimpl<SampleType: Send + Copy> SimpleAudioProcessor for NoopAudioProcessor<SampleType>
impl<SampleType: Send + Copy> SimpleAudioProcessor for NoopAudioProcessor<SampleType>
type SampleType = SampleType
sourcefn s_process_frame(&mut self, _frame: &mut [SampleType])
fn s_process_frame(&mut self, _frame: &mut [SampleType])
Process a multi-channel frame. Read more
sourcefn s_prepare(&mut self, _settings: AudioProcessorSettings)
fn s_prepare(&mut self, _settings: AudioProcessorSettings)
Prepare for playback based on current audio settings
sourcefn s_process(&mut self, sample: Self::SampleType) -> Self::SampleType
fn s_process(&mut self, sample: Self::SampleType) -> Self::SampleType
Process a single sample. If the input is mult-channel, will run for each channel by default. If the processor is multi-channel, implement s_process_frame instead. Read more
Auto Trait Implementations
impl<SampleType> RefUnwindSafe for NoopAudioProcessor<SampleType> where
SampleType: RefUnwindSafe,
impl<SampleType> Send for NoopAudioProcessor<SampleType> where
SampleType: Send,
impl<SampleType> Sync for NoopAudioProcessor<SampleType> where
SampleType: Sync,
impl<SampleType> Unpin for NoopAudioProcessor<SampleType> where
SampleType: Unpin,
impl<SampleType> UnwindSafe for NoopAudioProcessor<SampleType> where
SampleType: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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