diff --git a/plugins/crisp/src/filter.rs b/plugins/crisp/src/filter.rs index bd3fd28f..59cbe06f 100644 --- a/plugins/crisp/src/filter.rs +++ b/plugins/crisp/src/filter.rs @@ -153,6 +153,7 @@ impl BiquadCoefficients { } impl SimdType for f32 { + #[inline(always)] fn from_f32(value: f32) -> Self { value } @@ -160,6 +161,7 @@ impl SimdType for f32 { // TODO: Add SIMD // impl SimdType for f32x2 { +// #[inline(always)] // fn from_f32(value: f32) -> Self { // f32x2::splat(value) // } diff --git a/plugins/diopser/src/filter.rs b/plugins/diopser/src/filter.rs index 2836358b..96f2c266 100644 --- a/plugins/diopser/src/filter.rs +++ b/plugins/diopser/src/filter.rs @@ -129,12 +129,14 @@ impl BiquadCoefficients { } impl SimdType for f32 { + #[inline(always)] fn from_f32(value: f32) -> Self { value } } impl SimdType for f32x2 { + #[inline(always)] fn from_f32(value: f32) -> Self { f32x2::splat(value) }