Contents

init(copying:)

Creates a mutable buffer by copying another PCM buffer’s audio data.

Declaration

convenience init(copying source: AVAudioPCMBuffer)

Parameters

  • source:

    The source PCM buffer to copy from.

Discussion

This initializer allocates a new mutable buffer and copies all audio data channel by channel.