Function apply_gain

Source
pub fn apply_gain<S>(input: &[S], output: &mut [S], gain: S)
where S: Sample, <S as Sample>::Simd: Mul<Output = <S as Sample>::Simd>,
Expand description

Apply a gain value to an input slice and write to output using SIMD.