A buffer of audio data and its format.
SDKs
- iOS 8.0+
- macOS 10.10+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
Framework
- AVFoundation
Declaration
@interface AVAudioBuffer : NSObject
A buffer of audio data and its format.
SDKs
Framework
@interface AVAudioBuffer : NSObject
format
The format of the audio in the buffer.
audio Buffer List
The buffer's underlying Audio
.
mutable Audio Buffer List
A mutable version of the buffer's underlying AudioBufferList.
AVAudio Compressed Buffer
A subclass of AVAudio
for use with compressed audio formats.
AVAudio PCMBuffer
A subclass of AVAudio
, for use with PCM audio formats.
AVAudio File
An audio file that can be opened for reading or writing.
AVAudio Time
A class used by the audio engine to represent time.
Define audio data with these constants and classes.
Set up your system to record digital audio from an iOS device and exchange MIDI data with it by enabling Inter-Device Audio and MIDI.