diff --git a/src/params/smoothing.rs b/src/params/smoothing.rs index fda4e511..33f4c428 100644 --- a/src/params/smoothing.rs +++ b/src/params/smoothing.rs @@ -14,7 +14,7 @@ pub enum SmoothingStyle { /// the oversampling amount, where `1.0` means no oversampling. This value can change at /// runtime, and it effectively scales the sample rate when computing new smoothing coefficients /// when the parameter's value changes. - OversamplingAware(Arc, Arc), + OversamplingAware(Arc, &'static SmoothingStyle), /// No smoothing is applied. The parameter's `value` field contains the latest sample value /// available for the parameters.