VNOX-Client/examples/audio_devices.rs
loki5512344 f04691c3cd
chore(client): checkpoint deployed features and unfinished server management
User requested a checkpoint and stopped all agents. Deployed artifacts remain the last verified releases; unfinished settings/categories/forums are preserved as WIP. See TODO/roadmap for verification and remaining release/updater work.
2026-11-01 15:31:21 +01:00

12 lines
486 B
Rust

//! Diagnostic inventory only: does not open streams or capture microphone audio.
fn main() -> anyhow::Result<()> {
let lists = vnox_client::audio::devices::enumerate()?;
println!("Audio backend: {}", cpal::default_host().id().name());
for (kind, entries) in [("Input", lists.input), ("Output", lists.output)] {
println!("{kind}: system default");
for entry in entries {
println!(" {} ({})", entry.label, entry.id);
}
}
Ok(())
}