Skip to main content

vec_ring_write

Function vec_ring_write 

Source
pub fn vec_ring_write(buf: &mut [f32], pos: &mut usize, src: &[f32])
Expand description

Write src into circular buffer buf starting at *pos, wrapping at buf.len(). Advances *pos by src.len().