ASIO introduces quite a few extra crates and requires a fairly complicated setup process (see the readme), so this feature is disabled by default.
12 lines
335 B
Rust
12 lines
335 B
Rust
#[cfg(any(target_os = "linux", target_os = "freebsd"))]
|
|
pub(crate) mod alsa;
|
|
#[cfg(all(windows, feature = "asio"))]
|
|
pub(crate) mod asio;
|
|
#[cfg(any(target_os = "macos", target_os = "ios"))]
|
|
pub(crate) mod coreaudio;
|
|
#[cfg(target_os = "emscripten")]
|
|
pub(crate) mod emscripten;
|
|
pub(crate) mod null;
|
|
#[cfg(windows)]
|
|
pub(crate) mod wasapi;
|