oxisound 0.1.3

OxiSound — COOLJAPAN Pure-Rust audio device I/O facade
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
fn main() {
    match oxisound::enumerate_devices() {
        Ok(devices) => {
            if devices.is_empty() {
                println!("No audio devices found.");
            } else {
                println!("{}", oxisound::format_devices(&devices));
            }
        }
        Err(e) => println!("Could not enumerate devices: {e}"),
    }
}