Function dsp::sample::buffer::add_with_amp_per_channel
[−]
pub fn add_with_amp_per_channel<S>(a: &mut [S], b: &[S], amp_per_channel: &[f32]) where S: Sample + Duplex<f32>
Sum buffer b
onto buffer a
after multiplying it by the amplitude per channel.