pub type AudioComponentFactoryFunction = Option<unsafe extern "C-unwind" fn(NonNull<AudioComponentDescription>) -> *mut AudioComponentPlugInInterface>;
Available on crate feature
AudioComponent
only.Expand description
A function that creates AudioComponentInstances.
Authors of AudioComponents may register them from bundles as described above in the discussion of this header file, or dynamically within a single process, using AudioComponentRegister.
Parameter inDesc
: The AudioComponentDescription specifying the component to be instantiated.
Returns: A pointer to a AudioComponentPlugInInterface structure.
See also Apple’s documentation
Aliased Type§
pub enum AudioComponentFactoryFunction {
None,
Some(unsafe extern "C-unwind" fn(NonNull<AudioComponentDescription>) -> *mut AudioComponentPlugInInterface),
}
Variants§
None
No value.
Some(unsafe extern "C-unwind" fn(NonNull<AudioComponentDescription>) -> *mut AudioComponentPlugInInterface)
Some value of type T
.