Contents

init(unsafeRetaining:)

Creates a read-only buffer by retaining the existing PCM buffer without copying.

Declaration

init(unsafeRetaining buffer: sending AVAudioPCMBuffer)

Parameters

  • buffer:

    The PCM buffer to retain (not copied).

Discussion

See Also

Creating a read-only buffer