Add asio cargo feature for optional ASIO support
ASIO introduces quite a few extra crates and requires a fairly complicated setup process (see the readme), so this feature is disabled by default.
This commit is contained in:
parent
76fab4f982
commit
8f95042b8d
4 changed files with 23 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
#[cfg(any(target_os = "linux", target_os = "freebsd"))]
|
||||
pub(crate) mod alsa;
|
||||
#[cfg(windows)]
|
||||
#[cfg(all(windows, feature = "asio"))]
|
||||
pub(crate) mod asio;
|
||||
#[cfg(any(target_os = "macos", target_os = "ios"))]
|
||||
pub(crate) mod coreaudio;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue