[][src]Trait noise_gate::Sink

pub trait Sink<F> {
    fn record(&mut self, frame: F);
fn end_of_transmission(&mut self); }

A consumer of Frames.

Required methods

fn record(&mut self, frame: F)

Add a frame to the current recording, starting a new recording if necessary.

fn end_of_transmission(&mut self)

Reached the end of the samples, do necessary cleanup (e.g. flush to disk).

Loading content...

Implementors

Loading content...