quad-alsa-sys 0.3.2

For of original alsa-sys, but with pkg-config replaced with -lasound.
Documentation
1
2
3
4
5
6
7
8
9
10
fn main () {
    if cfg!(feature = "use-bindgen") {
        use std::fs::copy;
        use std::path::PathBuf;
        let bindings_path = concat!(env!("OUT_DIR"), "/generated.rs");
        copy(PathBuf::from(bindings_path), PathBuf::from("src/generated.rs")).unwrap();
    } else {
        panic!("Must be run with use-bindgen feature");
    }
}