Function sample::slice::add_in_place_with_amp_per_channel
[−]
[src]
pub fn add_in_place_with_amp_per_channel<FA, FB, A>(a: &mut [FA], b: &[FB], amp_per_channel: A) where FA: Frame, FB: Frame<Sample=FA::Sample::Signed, NumChannels=FA::NumChannels>, A: Frame<Sample=FB::Sample::Float, NumChannels=FB::NumChannels>
Scale the amplitude of each frame in b
by amp_per_channel
before summing it onto a
.