diff --git a/src/param/smoothing.rs b/src/param/smoothing.rs index f2c4d483..05a61385 100644 --- a/src/param/smoothing.rs +++ b/src/param/smoothing.rs @@ -36,7 +36,7 @@ pub enum SmoothingStyle { #[derive(Debug)] pub struct Smoother { /// The kind of snoothing that needs to be applied, if any. - style: SmoothingStyle, + pub style: SmoothingStyle, /// The number of steps of smoothing left to take. /// // This is a signed integer because we can skip multiple steps, which would otherwise make it @@ -119,13 +119,6 @@ impl Smoother { Default::default() } - /// Get the smoother's style. This is useful when a per-voice smoother wants to use the same - /// style as a parameter's global smoother. - #[inline] - pub fn style(&self) -> SmoothingStyle { - self.style - } - /// The number of steps left until calling [`next()`][Self::next()] will stop yielding new /// values. #[inline]