nandi/jolt-nativepublic Fork 0
fa4ecdfed6a830e6099d5fab9be24ef72ea1923b
Commits
Clone
git clone https://git.rickub.com/nandi/jolt-native.git
git clone ssh://git@rickub.com/nandi/jolt-native.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

Lift freeq's AV media plane out of sleek 90f8b89 · on fa4ecdfed6a830e6099d5fab9be24ef72ea1923b · nandi · 19d ago
test.rs · 17 lines · 502 BRust Blame HistoryRaw
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
extern crate asio_sys as sys;

fn main() {
    let asio = sys::Asio::new();
    for driver in asio.driver_names() {
        println!("Driver: {}", driver);
        let driver = asio.load_driver(&driver).expect("failed to load drivers");
        println!(
            "  Channels: {:?}",
            driver.channels().expect("failed to get channels")
        );
        println!(
            "  Sample rate: {:?}",
            driver.sample_rate().expect("failed to get sample rate")
        );
    }
}