Skip to main content

mix_into

Function mix_into 

Source
pub fn mix_into(into: &mut [i16], source: &[i16])
Expand description

Add source into into, clipping rather than wrapping.

The shorter of the two decides how much is mixed: a participant whose frame is short has nothing to contribute past its end, and padding it with silence would be the same thing at more cost.