Skip to main content

verify_device_openable

Function verify_device_openable 

Source
pub fn verify_device_openable(
    device: &Device,
    is_input: bool,
    sample_rate: u32,
) -> Result<()>
Expand description

Play silence to a device briefly to verify it can be opened.

Used by --check mode to confirm stream viability without keeping a long-running stream alive.