The delegate of an
AVCaptureAudioDataOutputSampleBuffer object must adopt the
AVCaptureAudioDataOutputSampleBufferDelegate protocol. The method in this protocol is optional.
captureOutput(_:didOutputSampleBuffer:fromConnection:) - captureOutput:didOutputSampleBuffer:fromConnection:
Notifies the delegate that a sample buffer was written.
The capture output object.
The sample buffer that was output.
Available in iOS 4.0 and later.