Instance Property


The settings used to decode or re-encode audio before it is output.


var audioSettings: [String : Any]! { get set }


The value of this property is a dictionary containing values for audio settings keys defined in Audio Settings and Formats.

If the value of this property is nil, samples are output in their device native format.

See Also

Configuring Audio Capture

func recommendedAudioSettingsForAssetWriter(writingTo: AVFileType) -> [AnyHashable : Any]?

Specifies the recommended settings for use with an AVAssetWriterInput.