Instance Property

isAutoShutdownEnabled

A Boolean value that indicates when autoshutdown is enabled.

Declaration

var isAutoShutdownEnabled: Bool { get set }

Discussion

If autoshutdown is enabled, the engine can start and stop the audio hardware dynamically to conserve power. On watchOS, autoshutdown is always enabled. On other platforms, it's disabled by default.

See Also

Getting Manual Rendering Properties

typealias AVAudioEngineManualRenderingBlock

A block to render the engine when operating in manual rendering mode.

var manualRenderingBlock: AVAudioEngineManualRenderingBlock

A block to render the engine when operating in manual rendering mode.

var manualRenderingFormat: AVAudioFormat

The render format of the engine in manual rendering mode.

var manualRenderingMaximumFrameCount: AVAudioFrameCount

The maximum number of PCM sample frames the engine can produce in any single render call in manual rendering mode.

var manualRenderingMode: AVAudioEngineManualRenderingMode

The manual rendering mode configured on the engine.

var manualRenderingSampleTime: AVAudioFramePosition

An indication of where the engine is on its render timeline in manual rendering mode.

var isInManualRenderingMode: Bool

A Boolean value that indicates whether the engine is operating in manual rendering mode.

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