pub trait ObjectAudioProcessor<BufferType> {
// Required method
fn process_obj(&mut self, context: &mut AudioContext, data: &mut BufferType);
// Provided method
fn prepare_obj(
&mut self,
_context: &mut AudioContext,
_settings: AudioProcessorSettings
) { ... }
}
Expand description
Auto-implemented object version of the audio-processor trait.
Given a known buffer-type, audio-processors can be made into objects using this type.