pub struct NoopAudioProcessor<SampleType>(_);
Expand description
An audio-processor which doesn’t do any work.
Implementations§
source§impl<SampleType> NoopAudioProcessor<SampleType>
impl<SampleType> NoopAudioProcessor<SampleType>
Trait Implementations§
source§impl<SampleType: Send + Copy> AudioProcessor for NoopAudioProcessor<SampleType>
impl<SampleType: Send + Copy> AudioProcessor for NoopAudioProcessor<SampleType>
type SampleType = SampleType
source§fn process(
&mut self,
_context: &mut AudioContext,
_frame: &mut AudioBuffer<Self::SampleType>
)
fn process( &mut self, _context: &mut AudioContext, _frame: &mut AudioBuffer<Self::SampleType> )
Process a block of samples by mutating the input
AudioBuffer
source§fn prepare(&mut self, _context: &mut AudioContext)
fn prepare(&mut self, _context: &mut AudioContext)
Prepare for playback based on current audio settings