Protocol

AVCaptureAudioDataOutputSampleBufferDelegate

Methods for receiving audio sample data from an audio capture.

Declaration

protocol AVCaptureAudioDataOutputSampleBufferDelegate

Overview

This protocol defines an interface for delegates of an AVCaptureAudioDataOutput object to receive captured auido sample buffers.

The delegate of an AVCaptureAudioDataOutput object must adopt the AVCaptureAudioDataOutputSampleBufferDelegate protocol. The method in this protocol is optional.

Topics

Managing Sample Buffer Behavior

Relationships

Inherits From

See Also

Receiving Captured Audio Data

func setSampleBufferDelegate(AVCaptureAudioDataOutputSampleBufferDelegate?, queue: DispatchQueue?)

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

var sampleBufferCallbackQueue: DispatchQueue?

The queue on which delegate callbacks are invoked