audio-device 0.1.0-alpha.6

A library for interacting with audio devices
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
fn main() -> anyhow::Result<()> {
    for card in audio_device::alsa::cards() {
        let card = card?;
        println!(
            "{} ({})",
            card.long_name()?.to_str()?,
            card.name()?.to_str()?
        );
    }

    Ok(())
}