pub type rtaudio_cb_t = Option<unsafe extern "C" fn(out: *mut c_void, in_: *mut c_void, nFrames: c_uint, stream_time: f64, status: rtaudio_stream_status_t, userdata: *mut c_void) -> c_int>;Expand description
! RtAudio callback function prototype. *! All RtAudio clients must create a function of this type to read and/or write data from/to the audio stream. When the underlying audio system is ready for new input or output data, this function will be invoked.
See \ref RtAudioCallback. */
Aliased Type§
pub enum rtaudio_cb_t {
None,
Some(unsafe extern "C" fn(*mut c_void, *mut c_void, u32, f64, u32, *mut c_void) -> i32),
}