[][src]Function portaudio_rs::stream::is_format_supported

pub fn is_format_supported<I: SampleType, O: SampleType>(
    input: Option<StreamParameters<I>>,
    output: Option<StreamParameters<O>>,
    sample_rate: f64
) -> PaResult

Returns Ok when the StreamParameters are supported. This ignores the latency field.