Skip to main content

RenderFn

Type Alias RenderFn 

Source
pub type RenderFn = Box<dyn FnMut(&mut [f32]) + Send>;
Expand description

Fills one buffer of interleaved f32 samples (frames * channels long) for the device. Called on the audio thread.

Aliased Typeยง

pub struct RenderFn(/* private fields */);