pub trait MonoAudioProcessor {
    type SampleType: Copy;

    // Provided methods
    fn m_prepare(&mut self, _context: &mut AudioContext) { ... }
    fn m_process(
        &mut self,
        _context: &mut AudioContext,
        sample: Self::SampleType
    ) -> Self::SampleType { ... }
}

Required Associated Types§

Provided Methods§

source

fn m_prepare(&mut self, _context: &mut AudioContext)

source

fn m_process( &mut self, _context: &mut AudioContext, sample: Self::SampleType ) -> Self::SampleType

Implementors§