opus
pub struct SoftClip { // some fields omitted }
Soft-clipping to bring a float signal within the [-1,1] range.
impl SoftClip
fn new(channels: Channels) -> SoftClip
Initialize a new soft-clipping state.
fn apply(&mut self, signal: &mut [f32])
Apply soft-clipping to a float signal.