Function apply_gain

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

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