AudioCodecDelegate
public protocol AudioCodecDelegate : AnyObject
The interface a AudioCodec uses to inform its delegate.
-
Tells the receiver to set a formatDescription.
Declaration
Swift
func audioCodec(_ codec: AudioCodec, didSet formatDescription: CMFormatDescription?)
-
Tells the receiver to output a encoded or decoded sampleBuffer.
Declaration
Swift
func audioCodec(_ codec: AudioCodec, didOutput sample: UnsafeMutableAudioBufferListPointer, presentationTimeStamp: CMTime)