pub type AURenderObserver = *mut DynBlock<dyn Fn(AudioUnitRenderActionFlags, NonNull<AudioTimeStamp>, AUAudioFrameCount, NSInteger)>;Available on crate features
AUAudioUnit and AUComponent and block2 and objc2-core-audio-types only.Expand description
Block called when an audio unit renders.
This block is called by the base class’s AURenderBlock before and after each render cycle. The observer can distinguish between before and after using the PreRender and PostRender flags.
The parameters are identical to those of AURenderBlock.
See also Apple’s documentation