pub fn mux(
left: &[f32],
right: &[f32],
out: &mut [f32],
) -> Result<usize, AudioError>Expand description
Interleave left and right mono channels into out (L,R,L,R,…).
Processes n = min(left.len(), right.len()) frames. Returns the frame count.
Errors with AudioError::OutputBufferTooSmall if out.len() < 2·n.