Allow evaluate_plain() to be unused
We won't need this, but it being there makes everything a lot clearer.
This commit is contained in:
parent
ea4dd8ead2
commit
ab66152f00
|
@ -55,6 +55,7 @@ impl<'a> Curve<'a> {
|
||||||
|
|
||||||
/// Evaluate the curve for a value in Hertz.
|
/// Evaluate the curve for a value in Hertz.
|
||||||
#[inline]
|
#[inline]
|
||||||
|
#[allow(unused)]
|
||||||
pub fn evaluate_plain(&self, freq: f32) -> f32 {
|
pub fn evaluate_plain(&self, freq: f32) -> f32 {
|
||||||
self.evaluate_log2(freq.log2())
|
self.evaluate_log2(freq.log2())
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue