AudioComponentCopyName

Function AudioComponentCopyName 

Source
pub unsafe extern "C-unwind" fn AudioComponentCopyName(
    in_component: AudioComponent,
    out_name: NonNull<*const CFString>,
) -> i32
Available on crate features AudioComponent and objc2-core-foundation only.
Expand description

Retrieves the name of an audio component.

the name of an audio component

Parameter inComponent: the audio component (must not be NULL)

Parameter outName: a CFString that is the name of the audio component. This string should be released by the caller.

Returns: an OSStatus result code.

ยงSafety

  • in_component must be a valid pointer.
  • out_name must be a valid pointer.