Skip to main content

SCRATCH_FRAMES

Constant SCRATCH_FRAMES 

Source
pub const SCRATCH_FRAMES: usize = 8192;
Expand description

Pre-allocated scratch depth (frames) shared by the runtime’s fill paths (Engine, Mixer, StreamSource): covers any host block up to this size without allocating in the audio callback; a larger block grows the scratch once, on the first such call.