summaryrefslogtreecommitdiffstats
path: root/third_party/rust/midir/src/backend/mod.rs
blob: 2940daeeffc3f24bb46babfd28c272b1e621bc6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// This module is not public

// TODO: improve feature selection (make sure that there is always exactly one implementation, or enable dynamic backend selection)
// TODO: allow to disable build dependency on ALSA

#[cfg(all(target_os="windows", not(feature = "winrt")))] mod winmm;
#[cfg(all(target_os="windows", not(feature = "winrt")))] pub use self::winmm::*;

#[cfg(all(target_os="windows", feature = "winrt"))] mod winrt;
#[cfg(all(target_os="windows", feature = "winrt"))] pub use self::winrt::*;

#[cfg(all(target_os="macos", not(feature = "jack")))] mod coremidi;
#[cfg(all(target_os="macos", not(feature = "jack")))] pub use self::coremidi::*;

#[cfg(all(target_os="linux", not(feature = "jack")))] mod alsa;
#[cfg(all(target_os="linux", not(feature = "jack")))] pub use self::alsa::*;

#[cfg(all(feature = "jack", not(target_os="windows")))] mod jack;
#[cfg(all(feature = "jack", not(target_os="windows")))] pub use self::jack::*;

#[cfg(target_arch="wasm32")] mod webmidi;
#[cfg(target_arch="wasm32")] pub use self::webmidi::*;