One Logo Pool Ball
AVFAudio · IOS API REFERENCE

AVAudioCompressedBuffer

class · iOS 9.0+ · SDK 27.1

class AVAudioCompressedBuffer

Members (12)

init · iOS 9.0+

init

TypeScript
static initFormatPacketCapacity(format: AVAudioFormat, packetCapacity: number): AVAudioCompressedBuffer
Swift declaration
init(format: AVAudioFormat, packetCapacity: AVAudioPacketCount)
init · iOS 9.0+

init

TypeScript
static initFormatPacketCapacityMaximumPacketSize(format: AVAudioFormat, packetCapacity: number, maximumPacketSize: number): AVAudioCompressedBuffer
Swift declaration
init(format: AVAudioFormat, packetCapacity: AVAudioPacketCount, maximumPacketSize: Int)
get · iOS 11.0+

byteCapacity

TypeScript
get byteCapacity(): number
Swift declaration
var byteCapacity: UInt32 { get }
get · iOS 11.0+

byteLength

TypeScript
get byteLength(): number
Swift declaration
var byteLength: UInt32 { get set }
set · iOS 11.0+

byteLength

TypeScript
set byteLength(value: number)
Swift declaration
var byteLength: UInt32 { get set }
get · iOS 9.0+

data

TypeScript
get data(): SDKHandle
Swift declaration
var data: UnsafeMutableRawPointer { get }
get · iOS 9.0+

maximumPacketSize

TypeScript
get maximumPacketSize(): number
Swift declaration
var maximumPacketSize: Int { get }
get · iOS 9.0+

packetCapacity

TypeScript
get packetCapacity(): number
Swift declaration
var packetCapacity: AVAudioPacketCount { get }
get · iOS 9.0+

packetCount

TypeScript
get packetCount(): number
Swift declaration
var packetCount: AVAudioPacketCount { get set }
set · iOS 9.0+

packetCount

TypeScript
set packetCount(value: number)
Swift declaration
var packetCount: AVAudioPacketCount { get set }
get · iOS 9.0+

packetDescriptions

TypeScript
get packetDescriptions(): (SDKHandle) | null
Swift declaration
var packetDescriptions: UnsafeMutablePointer<AudioStreamPacketDescription>? { get }
get · iOS 26.0+

packetDependencies

TypeScript
get packetDependencies(): (Array<_CoreAudioTypes_AudioStreamPacketDependencyDescription>) | null
Swift declaration
var packetDependencies: [AudioStreamPacketDependencyDescription]? { get }

Packet Dependencies If the format doesn't employ packet dependencies, this will be `nil`.

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

AVAudioCompressedBuffer.init()

inherited init: cannot prove legal (class declares 2 custom initializers)

All AVFAudio types →