pub fn render_block<const N: usize>(
allocator: &mut VoiceAllocator<N>,
out: &mut [f32],
) -> Result<(), AudioError>Expand description
Render one audio block by summing every active voice into out (mono, one sample
per element). Each element is fully mixed before advancing to the next, so voice
phase/envelope stay sample-accurate. Returns Ok(()); reserved AudioError variants
allow future validation without changing the signature.