Skip to main content

AudioDeviceDestroyIOProcID

Function AudioDeviceDestroyIOProcID 

Source
pub unsafe extern "C-unwind" fn AudioDeviceDestroyIOProcID(
    in_device: u32,
    in_io_proc_id: Option<unsafe extern "C-unwind" fn(u32, NonNull<AudioTimeStamp>, NonNull<AudioBufferList>, NonNull<AudioTimeStamp>, NonNull<AudioBufferList>, NonNull<AudioTimeStamp>, *mut c_void) -> i32>,
) -> i32
Expand description

Destroys an AudioDeviceIOProcID.

AudioDeviceIOProcIDs allow for the client to register the same function pointer with a device multiple times

Parameter inDevice: The AudioDevice from which the ID came.

Parameter inIOProcID: The AudioDeviceIOProcID to get rid of.

Returns: An OSStatus indicating success or failure.

ยงSafety

in_io_proc_id must be implemented correctly.