1use context::cubeb;
7use std::os::raw::{c_long, c_void};
8use stream::{cubeb_state, cubeb_stream};
9
10pub type cubeb_data_callback = Option<
11 unsafe extern "C" fn(
12 *mut cubeb_stream,
13 *mut c_void,
14 *const c_void,
15 *mut c_void,
16 c_long,
17 ) -> c_long,
18>;
19pub type cubeb_state_callback =
20 Option<unsafe extern "C" fn(*mut cubeb_stream, *mut c_void, cubeb_state)>;
21pub type cubeb_device_changed_callback = Option<unsafe extern "C" fn(*mut c_void)>;
22pub type cubeb_device_collection_changed_callback =
23 Option<unsafe extern "C" fn(*mut cubeb, *mut c_void)>;