diff options
Diffstat (limited to 'src/synth')
-rw-r--r-- | src/synth/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/synth/mod.rs b/src/synth/mod.rs index d48577c..55268a7 100644 --- a/src/synth/mod.rs +++ b/src/synth/mod.rs @@ -172,7 +172,7 @@ impl Clone for SampleBuffer { } } -pub trait Generator : Debug { +pub trait Generator : Debug + Send { fn eval<'a>(&'a mut self, params: &Parameters) -> &'a SampleBuffer; fn buffer(&self) -> &SampleBuffer; fn set_buffer(&mut self, buf: SampleBuffer) -> SampleBuffer; |