Struct audiostream::ao::AOSink [-]  [+] [src]

pub struct AOSink<'a, F, R> {
    // some fields omitted
}

Sink writing to a libao device.

Consumes samples of format F from a Source R.

Methods

impl<'a, F, R> AOSink<'a, F, R> where F: Sample, R: Source<Output=F>

fn new(source: R, driver: &Driver<'a>) -> AoResult<AOSink<'a, F, R>>

Construct a libao sink.

Trait Implementations

impl<'a, F: Sample + Interleave, R: Source<Output=F>> Sink for AOSink<'a, F, R>

fn run_once(&mut self) -> Option<()>

fn run(&mut self, term_cond: &AtomicBool)