Skip to main content

list_microphones

Function list_microphones 

Source
pub fn list_microphones() -> Vec<MicrophoneDevice>
Expand description

Enumerate every microphone the OS exposes via gst-device-monitor-1.0.

Returns an empty Vec (not an error) if the host has no microphones or the binary isn’t on PATH — matches the crate::camera::list_cameras convention. Integration tests should runtime-skip when the returned slice is empty.