Trait rsynth::AudioRenderer[][src]

pub trait AudioRenderer<S> where
    S: Copy
{ fn render_buffer(
        &mut self,
        buffer: &mut AudioBufferInOut<'_, '_, '_, '_, S>
    ); }

Defines how audio is rendered.

The type parameter S refers to the data type of a sample. It is typically f32 or f64.

Required methods

fn render_buffer(&mut self, buffer: &mut AudioBufferInOut<'_, '_, '_, '_, S>)[src]

This method is called repeatedly for subsequent audio buffers.

Loading content...

Implementors

Loading content...