Trait audio_processor_traits::AudioProcessor[][src]

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.

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