- iOS 9.0+
- macOS 10.11+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
- watchOS 2.0+
Format, packet Capacity: AVAudio Packet Count)
Initializes a buffer for compressed audio data.
Format, packet Capacity: AVAudio Packet Count, maximum Packet Size: Int)
Initializes a buffer with constant bytes per packet for compressed audio data.
The buffer's capacity, in bytes.
The number of valid bytes in the buffer.
var data: Unsafe
Mutable Raw Pointer
The buffer's data bytes.
Packet Size: Int
The maximum size, in bytes, of a compressed packet.
Capacity: AVAudio Packet Count
The number of compressed packets the buffer can contain.
Count: AVAudio Packet Count
The number of compressed packets in the buffer.
A number of packets of compressed audio data.
Descriptions: Unsafe Mutable Pointer<Audio Stream Packet Description>?
The buffer's array of packet descriptions.
This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.Learn more about using Apple's beta software