A capture output that records audio and provides access to audio sample buffers as they are recorded.


Managing the Delegate

func setSampleBufferDelegate(AVCaptureAudioDataOutputSampleBufferDelegate!, queue: DispatchQueue!)

Sets the delegate that will accept captured buffers and dispatch queue on which the delegate will be called.

var sampleBufferCallbackQueue: DispatchQueue!

The queue on which delegate callbacks are invoked

Getting and Setting Audio Settings

var audioSettings: [AnyHashable : Any]!

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

func recommendedAudioSettingsForAssetWriter(withOutputFileType: String!)

Specifies the recommended settings for use with an AVAssetWriterInput.


Inherits From