write(from:)
Writes an audio buffer sequentially.
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
The buffer’s frameLength signifies how much of the buffer the method writes.