AudioComponentGetVersion

Function AudioComponentGetVersion 

Source
pub unsafe extern "C-unwind" fn AudioComponentGetVersion(
    in_component: AudioComponent,
    out_version: NonNull<u32>,
) -> i32
Available on crate feature AudioComponent only.
Expand description

Retrieve an audio component’s version.

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

Parameter outVersion: the audio component’s version in the form of 0xMMMMmmDD (Major, Minor, Dot)

Returns: an OSStatus result code.

§Safety

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