AudioHardwareCreateProcessTap

Function AudioHardwareCreateProcessTap 

Source
pub unsafe extern "C-unwind" fn AudioHardwareCreateProcessTap(
    in_description: Option<&CATapDescription>,
    out_tap_id: *mut AudioObjectID,
) -> i32
Available on crate features AudioHardware and objc2 only.
Expand description

This routine creates a new Tap using the provided description.

Parameter inDescription: The CATapDescription that specifies how to build the Tap.

Parameter outTapID: The AudioObjectID of the newly created Tap.

Returns: An OSStatus indicating success or failure.

ยงSafety

  • in_description might not allow None.
  • out_tap_id must be a valid pointer.