rust_jack/lib.rs
1#[macro_use]
2extern crate bitflags;
3extern crate jack_sys;
4#[macro_use]
5extern crate lazy_static;
6extern crate libc;
7
8mod callbacks;
9mod client;
10mod enums;
11mod flags;
12mod info;
13mod port;
14mod utils;
15
16pub use callbacks::JackHandler;
17pub use client::Client;
18pub use enums::*;
19pub use flags::*;
20pub use port::Port;
21pub use info::set_info_callbacks;
22
23pub fn get_time() -> u64 {
24 unsafe { jack_sys::jack_get_time() }
25}
26
27#[cfg(test)]
28mod test;