1 2 3 4 5 6
use crate::core::Entity; pub trait Synthesizer: Sync + Send { /// Renders the synthesizer output into the provided buffer. fn render<'a>(&self, current_sample: u32, buffer: &'a mut [f32]) -> &'a [f32]; }