[][src]Trait ludus::ports::AudioDevice

pub trait AudioDevice {
    fn push_sample(&mut self, sample: f32);
}

This represents an audio device we can push samples to.

The APU will dump its samples into an object implementing this Trait as it generates them.

Required methods

fn push_sample(&mut self, sample: f32)

Loading content...

Implementors

Loading content...