extern "C" fn input_proc(in_ref_con: *mut c_void,
                         io_action_flags: *mut sys::AudioUnitRenderActionFlags,
                         in_time_stamp: *const sys::AudioTimeStamp,
                         in_bus_number: sys::UInt32,
                         in_number_frames: sys::UInt32,
                         io_data: *mut sys::AudioBufferList) -> sys::OSStatus
{
    let wrapper = in_ref_con as *mut InputProcFnWrapper;
    unsafe {
        (*(*wrapper).callback)(io_action_flags,
                               in_time_stamp,
                               in_bus_number,
                               in_number_frames,
                               io_data)
    }
}
/// Callback procedure that will be called each time our audio_unit requests audio.
Callback procedure that will be called each time our audio_unit requests audio.
Callback procedure that will be called each time our audio_unit requests audio .
extern "C" fn input_proc(in_ref_con: *mut c_void,
                         io_action_flags: *mut sys::AudioUnitRenderActionFlags,
                         in_time_stamp: *const sys::AudioTimeStamp,
                         in_bus_number: sys::UInt32,
                         in_number_frames: sys::UInt32,
                         io_data: *mut sys::AudioBufferList) -> sys::OSStatus
{
    let wrapper = in_ref_con as *mut InputProcFnWrapper;
    unsafe {
        (*(*wrapper).callback)(io_action_flags,
                               in_time_stamp,
                               in_bus_number,
                               in_number_frames,
                               io_data)
    }
}
extern " " fn input_proc ( in_ref_con : * mut c_void , io_action_flags : * mut sys :: AudioUnitRenderActionFlags , in_time_stamp : * const sys :: AudioTimeStamp , in_bus_number : sys :: UInt32 , in_number_frames : sys :: UInt32 , io_data : * mut sys :: AudioBufferList ) -> sys :: OSStatus { let wrapper = in_ref_con as * mut InputProcFnWrapper ; unsafe { ( * ( * wrapper ) . callback ) ( io_action_flags , in_time_stamp , in_bus_number , in_number_frames , io_data ) } }
Callback procedure that will be called each time our audio_unit requests audio.
Callback procedure that will be called each time our audio_unit requests audio .
in_ref_con
*mut c_void
io_action_flags
*mut sys::AudioUnitRenderActionFlags
in_time_stamp
*const sys::AudioTimeStamp
in_bus_number
sys::UInt32
in_number_frames
sys::UInt32
io_data
*mut sys::AudioBufferList
in_ref_con
*mut c_void
io_action_flags
*mut sys::AudioUnitRenderActionFlags
in_time_stamp
*const sys::AudioTimeStamp
in_bus_number
sys::UInt32
in_number_frames
sys::UInt32
io_data
*mut sys::AudioBufferList