Contents

write(from:)

Declaration

func write(from buffer: AVAudioPCMBuffer) throws

Parameters

  • buffer:

    The buffer from which to write to the file. Its format must match the file’s processing format.

Discussion

Write a buffer.

Writes sequentially. The buffer’s frameLength signifies how much of the buffer is to be written.