write(from:)
Declaration
func write(from buffer: AVAudioPCMBuffer) throwsParameters
- 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.