Contents

init(buffer:)

Creates an audio input object.

Declaration

init(buffer: CMReadySampleBuffer<CMReadOnlyDataBlockBuffer>)

Parameters

  • buffer:

    An audio buffer.

Discussion

The audio buffer must not overlap or precede other audio input, as determined by the buffer’s presentationTimeStamp value.

See Also

Creating an input element