cpal 0.17.2

Low-level cross-platform audio I/O library in pure Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
use std::env;

const CPAL_ASIO_DIR: &str = "CPAL_ASIO_DIR";

fn main() {
    println!("cargo:rerun-if-env-changed={CPAL_ASIO_DIR}");
    if env::var(CPAL_ASIO_DIR).is_ok() {
        println!("cargo:rustc-cfg=asio");
    }
}