Trait rsynth::AudioRenderer

source ·
pub trait AudioRenderer<S>
where S: Copy,
{ // Required method fn render_buffer( &mut self, buffer: &mut AudioBufferInOut<'_, '_, '_, '_, S> ); }
Expand description

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§

source

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

This method is called repeatedly for subsequent audio buffers.

Implementors§