Trait audio_streams::StreamSourceGenerator 
source · pub trait StreamSourceGenerator: Sync + Send {
    // Required method
    fn generate(&self) -> Result<Box<dyn StreamSource>, BoxError>;
}Expand description
StreamSourceGenerator is a trait used to abstract types that create StreamSource.
It can be used when multiple types of StreamSource are needed.