Class

AVAudioCompressedBuffer

A subclass of AVAudioBuffer for use with compressed audio formats.

Declaration

@interface AVAudioCompressedBuffer : AVAudioBuffer

Topics

Creating an Audio Buffer

- initWithFormat:packetCapacity:

Initializes a buffer for compressed audio data.

- initWithFormat:packetCapacity:maximumPacketSize:

Initializes a buffer with constant bytes per packet for compressed audio data.

Getting Audio Buffer Properties

byteCapacity

The buffer's capacity, in bytes.

byteLength

The number of valid bytes in the buffer.

data

The buffer's data bytes.

maximumPacketSize

The maximum size, in bytes, of a compressed packet.

packetCapacity

The number of compressed packets the buffer can contain.

packetCount

The number of compressed packets in the buffer.

AVAudioPacketCount

A number of packets of compressed audio data.

packetDescriptions

The buffer's array of packet descriptions.

Relationships

Inherits From

See Also

Specialized Audio Buffers

AVAudioPCMBuffer

A subclass of AVAudioBuffer, for use with PCM audio formats.