CoreAudioTypes defines the base data types and constants shared across Core Audio APIs on iOS, macOS, tvOS, watchOS, and visionOS. Use AudioStreamBasicDescription to describe a stream's sample format and AudioChannelLayout, AudioChannelDescription, and AudioChannelBitmap to express channel layouts, while AudioBuffer and AudioBufferList carry the audio samples themselves. AudioTimeStamp and the SMPTETime types represent timing and synchronization, and types such as AudioValueRange, AudioStreamPacketDescription, AudioFormatListItem, and MPEG4ObjectID describe value ranges, packetized data, and format details. These types provide the common vocabulary other Core Audio frameworks build on rather than functionality you call directly.
Stream Formats 5
Structures that describe the sample format and packet structure of an audio stream.
- StAudioStreamBasicDescription@struct AudioStreamBasicDescription
- StAudioStreamPacketDescription@struct AudioStreamPacketDescription
- StAudioStreamPacketDependencyDescription@struct AudioStreamPacketDependencyDescription
- StAudioFormatListItem@struct AudioFormatListItem
- EnMPEG4ObjectID@enum MPEG4ObjectID
Audio Buffers 2
Containers that carry the audio sample data passed between Core Audio APIs.
- StAudioBuffer@struct AudioBuffer
- StAudioBufferList@struct AudioBufferList
Channel Layouts 5
Types that express how audio channels map to spatial positions and speaker arrangements.
- StAudioChannelLayout@struct AudioChannelLayout
- StAudioChannelDescription@struct AudioChannelDescription
- StAudioChannelBitmap@enum AudioChannelBitmap
- StAudioChannelFlags@enum AudioChannelFlags
- EnAudioChannelCoordinateIndex@enum AudioChannelCoordinateIndex
Timing and Synchronization 5
Types that represent sample-accurate timing, host time, and SMPTE synchronization.
- StAudioTimeStamp@struct AudioTimeStamp
- StAudioTimeStampFlags@enum AudioTimeStampFlags
- StSMPTETime@struct SMPTETime
- StSMPTETimeFlags@enum SMPTETimeFlags
- EnSMPTETimeType@enum SMPTE Time Types
Values and Class Descriptions 3
Supporting types that describe value ranges, value translations, and audio component classes.
- StAudioValueRange@struct AudioValueRange
- StAudioValueTranslation@struct AudioValueTranslation
- StAudioClassDescription@struct AudioClassDescription
Type Aliases 9
- TyAVAudioInteger
- TyAVAudioUInteger
- TyAudioSessionID@typedef AudioSessionID
- TyAudioSampleType
- TyAudioUnitSampleType
- TyAudioFormatID@typedef AudioFormatID
- TyAudioFormatFlags@typedef AudioFormatFlags
- TyAudioChannelLabel@typedef AudioChannelLabel
- TyAudioChannelLayoutTag@typedef AudioChannelLayoutTag