func withUnsafeAudioBufferList<R>(_ body: (UnsafePointer<AudioBufferList>) throws -> R) rethrows -> R
Provides scoped read-only access to the audio buffer list.
- Parameter body: A closure that receives a pointer to the audio buffer list.
- Returns: The value returned by the closure.
Creates a mutable buffer by copying another PCM buffer's audio data.
This initializer allocates a new mutable buffer and copies all audio data channel by channel.
- Parameter source: The source PCM buffer to copy from.
Creates a mutable buffer by copying a read-only buffer's audio data.
This initializer allocates a new mutable buffer and copies all audio data from the read-only buffer.
- Parameter readOnlyBuffer: The read-only buffer to copy from.
Skipped declarations
6 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
AVAudioPCMBuffer.channelData(_:)
The iOS SDK compiler rejected this binding: instance method 'out' requires that 'AVAudioPCMBuffer.ChannelData' be a class type
AVAudioPCMBuffer.mutableChannelData(_:)
The iOS SDK compiler rejected this binding: instance method 'out' requires that 'AVAudioPCMBuffer.MutableChannelData' be a class type