pub type MTAudioProcessingTapFinalizeCallback = Option<unsafe extern "C-unwind" fn(NonNull<MTAudioProcessingTap>)>;Available on crate feature
MTAudioProcessingTap only.Expand description
Finalize callback.
This callback is called when it is safe to free any buffers or other state associated with the tap. This callback will be called exactly once when the MTAudioProcessingTap object is finalized. If tapStorage was allocated in the init callback, it should be freed here.
Parameter tap: The processing tap.
See also Apple’s documentation
Aliased Type§
pub enum MTAudioProcessingTapFinalizeCallback {
None,
Some(unsafe extern "C-unwind" fn(NonNull<MTAudioProcessingTap>)),
}Variants§
None
No value.
Some(unsafe extern "C-unwind" fn(NonNull<MTAudioProcessingTap>))
Some value of type T.