Instance Property

renderingOffline

Communicates to an audio unit that it is rendering offline.

Declaration

iOS, UIKit for Mac, tvOS
@property(getter=isRenderingOffline, nonatomic) BOOL renderingOffline;
macOS
@property(getter=isRenderingOffline, atomic) BOOL renderingOffline;

Discussion

A host should use this property when using an audio unit in a context where there are no realtime deadlines. An audio unit may respond by using a more expensive signal processing algorithm, or allowing itself to block at render time if data being generated on secondary work threads is not ready in time.

This version 3 property is bridged to the version 2 kAudioUnitProperty_OfflineRender API.

See Also

Optimizing Performance

latency

The audio unit’s processing latency, in seconds.

tailTime

The audio unit’s tail time, in seconds.

renderQuality

Provides a trade-off between rendering quality and CPU load.

shouldBypassEffect

Determines whether an effect should route input directly to output, without any processing.

canProcessInPlace

Determines whether an audio unit can process in place.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software