Trait moa_host::Audio

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

Required Methods§

source

fn samples_per_second(&self) -> usize

source

fn write_samples(&mut self, clock: Instant, buffer: &[Sample])

Implementors§