Struct audio_processor_traits::NoopAudioProcessor [−][src]
pub struct NoopAudioProcessor<SampleType>(_);
Expand description
An audio-processor which doesn’t do any work.
Trait Implementations
type SampleType = SampleType
fn 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
Prepare for playback based on current audio settings
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
Mutably borrows from an owned value. Read more
impl<SampleType, BufferType, Processor> ObjectAudioProcessor<BufferType> for Processor where
SampleType: Float + Send,
BufferType: AudioBuffer<SampleType = SampleType>,
Processor: AudioProcessor<SampleType = SampleType>,
impl<SampleType, BufferType, Processor> ObjectAudioProcessor<BufferType> for Processor where
SampleType: Float + Send,
BufferType: AudioBuffer<SampleType = SampleType>,
Processor: AudioProcessor<SampleType = SampleType>,