Instance Property

status

The status of the audio renderer.

Declaration

Discussion

A renderer begins with a status of AVQueuedSampleBufferRenderingStatus.unknown. As you add sample buffers to the queue for rendering, the renderer transitions to either AVQueuedSampleBufferRenderingStatus.rendering or AVQueuedSampleBufferRenderingStatus.failed.

If the status is AVQueuedSampleBufferRenderingStatus.failed, check the value of the renderer's error property for information on the error encountered. This property is key value observable.

See Also

Inspecting Sample Buffers

var audioOutputDeviceUniqueID: String?

The unique identifier of the output device used to play audio.

var volume: Float

The current audio volume for the audio renderer.

var isMuted: Bool

A Boolean value that indicates whether audio for the renderer is in a muted state.

var audioTimePitchAlgorithm: AVAudioTimePitchAlgorithm

The processing algorithm used to manage audio pitch at different rates.

struct AVAudioTimePitchAlgorithm

An algorithm used to set the audio pitch as the rate changes.

enum AVQueuedSampleBufferRenderingStatus

The statuses for sample buffer rendering.