renderBlock
The block that hosts use to ask the audio unit to render audio.
Declaration
var renderBlock: AURenderBlock { get }Mentioned in
Discussion
Before invoking an audio unit’s rendering functionality, a host should fetch this block and cache the result. The block can then be called from a realtime context without the possibility of blocking and causing an overload at the Core Audio HAL level.
This block will call a subclass’s internalRenderBlock implementation, providing all realtime events scheduled for the current render time interval, bracketed by calls to any render observers. Subclasses should override their internalRenderBlock implementation, not this property.
This version 3 property is bridged to the version 2 AudioUnitRender(_:_:_:_:_:_:) API.