pub fn apply_gain<S: Sample>(input: &[S], output: &mut [S], gain: S)where S::Simd: Mul<Output = S::Simd>,
Apply a gain value to an input slice and write to output using SIMD.