1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#[cfg(not(any(linux_direct, target_os="android")))]
pub mod x11; 

#[cfg(linux_direct)]
pub mod direct;

pub mod egl_sys;

pub mod gl_sys;
pub mod libc_sys;
pub mod opengl;

#[cfg(not(target_os="android"))]
pub mod dma_buf;

#[cfg(not(target_os="android"))]
pub mod alsa_sys;
#[cfg(not(target_os="android"))]
pub mod linux_media;
#[cfg(not(target_os="android"))]
pub mod linux_decoding;
#[cfg(not(target_os="android"))]
pub mod alsa_audio;
#[cfg(not(target_os="android"))]
pub mod alsa_midi;
#[cfg(not(target_os="android"))]
pub mod select_timer;
#[cfg(not(target_os="android"))] 
pub mod pulse_audio; 
#[cfg(not(target_os="android"))]
pub mod pulse_sys;

#[cfg(target_os="android")]
pub mod android;

#[cfg(target_os="android")]
pub(crate) use self::android::android::CxOs;

#[cfg(not(any(linux_direct, target_os="android")))]
pub(crate) use self::x11::linux_x11::*;


#[cfg(linux_direct)]
pub(crate) use self::direct::linux_direct::*;

pub(crate) use self::opengl::*; 

#[cfg(not(target_os="android"))]
pub(crate) use self::alsa_midi::{OsMidiInput, OsMidiOutput};

#[cfg(target_os="android")]
pub(crate) use self::android::android_midi::{OsMidiInput, OsMidiOutput};