Trait servo_media_player::audio::AudioRenderer

source ·
pub trait AudioRenderer: Send + 'static {
    // Required method
    fn render(&mut self, sample: Box<dyn AsRef<[f32]>>, channel: u32);
}

Required Methods§

source

fn render(&mut self, sample: Box<dyn AsRef<[f32]>>, channel: u32)

Implementors§