pub trait Audio {
// Required methods
fn samples_per_second(&self) -> usize;
fn write_samples(&mut self, clock: Instant, buffer: &[Sample]);
}
pub trait Audio {
// Required methods
fn samples_per_second(&self) -> usize;
fn write_samples(&mut self, clock: Instant, buffer: &[Sample]);
}