mirror of
https://github.com/robbert-vdh/nih-plug.git
synced 2026-07-01 02:36:54 +00:00
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:
@@ -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())
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user