Contents

requestedAudioFormat

Indicates the audio format in which the client prefers to receive the output sample buffers.

Declaration

var requestedAudioFormat: CMFormatDescription? { get set }

Discussion

Must be a PCM format.

The output CMSampleBuffers' CMFormatDescription may not exactly match this format description, but it will match the parts described in the AudioStreamBasicDescription.

Specifying a PCM format is currently required. In the future it may be optional.