We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c180c82 commit 9afdad1Copy full SHA for 9afdad1
src/stretch.rs
@@ -236,7 +236,7 @@ impl<T: Float + FromPrimitive + NumCast + core::ops::AddAssign> SignalsmithStret
236
/// Set custom frequency mapping function
237
pub fn set_freq_map<F>(&mut self, input_to_output: F)
238
where
239
- F: Fn(T) -> T + 'static,
+ F: Fn(T) -> T + 'static + Send + Sync,
240
{
241
self.custom_freq_map = Some(Box::new(input_to_output));
242
}
0 commit comments