pub trait EncoderAwhere
Self: Sized,{
fn new(audio: &Audio) -> Self;
fn run(&mut self, audio: &mut Audio) -> Vec<u8>;
fn end(self) -> Vec<u8>;
}
Expand description
A trait for implementing encoding audio.
pub trait EncoderAwhere
Self: Sized,{
fn new(audio: &Audio) -> Self;
fn run(&mut self, audio: &mut Audio) -> Vec<u8>;
fn end(self) -> Vec<u8>;
}
A trait for implementing encoding audio.