Function dsp::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 A: Frame<Sample=FB::Sample::Float, NumChannels=FB::NumChannels>, FA: Frame, FB: Frame<Sample=FA::Sample::Signed, NumChannels=FA::NumChannels>
Scale the amplitude of each frame in b
by amp_per_channel
before summing it onto a
.