pub trait AudioStreamHandle<Callback> {
type Error: Error;
// Required method
fn eject(self) -> Result<Callback, Self::Error>;
}
Expand description
Trait for types which handles an audio stream (input or output).
pub trait AudioStreamHandle<Callback> {
type Error: Error;
// Required method
fn eject(self) -> Result<Callback, Self::Error>;
}
Trait for types which handles an audio stream (input or output).