pub trait AudioProcessor {
    type SampleType;

    fn process<BufferType: AudioBuffer<SampleType = Self::SampleType>>(
        &mut self,
        data: &mut BufferType
    ); fn prepare(&mut self, _settings: AudioProcessorSettings) { ... } }
Expand description

Represents an audio processing node.

Implementors should define the SampleType the node will work over. See some examples here.

Required Associated Types

Required Methods

Process a block of samples by mutating the input AudioBuffer

Provided Methods

Prepare for playback based on current audio settings

Implementors