AVAudioPCMBuffer

class AVAudioPCMBuffer : AVAudioBuffer
  • Returns an AVAudioPCMBuffer copied from a sample offset to the end of the buffer.

    Declaration

    Swift

    open func copyFrom(startSample: AVAudioFrameCount) -> AVAudioPCMBuffer?
  • Returns an AVAudioPCMBuffer copied from the start of the buffer to the specified endSample.

    Declaration

    Swift

    open func copyTo(endSample: AVAudioFrameCount) -> AVAudioPCMBuffer?