<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "CoreAudioTypes",
  "identifier" : "/documentation/CoreAudioTypes",
  "metadataVersion" : "0.1.0",
  "role" : "Framework",
  "symbol" : {
    "kind" : "Framework",
    "modules" : [
      "Core Audio Types"
    ],
    "preciseIdentifier" : "CoreAudioTypes"
  },
  "title" : "Core Audio Types"
}
-->

# Core Audio Types

Use specialized data types to interact with audio streams, complex buffers, and audiovisual timestamps.

## Overview

The Core Audio Types framework declares common data types and constants that other Core Audio interfaces use. This framework also includes several convenience functions.

If you’re unfamiliar with the specialized terminology regarding the manipulation of audio data, refer to [Core Audio Glossary](https://developer.apple.com/library/archive/documentation/MusicAudio/Reference/CoreAudioGlossary/Introduction/Introduction.html#//apple_ref/doc/uid/TP40004453).

## Topics

### Buffers

[`AudioBuffer`](/documentation/CoreAudioTypes/AudioBuffer)

A structure that holds a buffer of audio data.

[`AudioBufferList`](/documentation/CoreAudioTypes/AudioBufferList)

A structure that stores a variable-length array of audio buffers.

### Channels

[`AudioChannelDescription`](/documentation/CoreAudioTypes/AudioChannelDescription)

A structure that describes a channel of audio data.

[`AudioChannelLayout`](/documentation/CoreAudioTypes/AudioChannelLayout)

A structure that specifies a channel layout in a file or in hardware.

### Codecs

[`AudioClassDescription`](/documentation/CoreAudioTypes/AudioClassDescription)

A structure that describes an audio codec.

### Audio Time

[`AudioTimeStamp`](/documentation/CoreAudioTypes/AudioTimeStamp)

A structure that represents a timestamp value.

[`AudioTimeStampFlags`](/documentation/CoreAudioTypes/AudioTimeStampFlags)

A structure that represents flags for a timestamp.

### SMPTE Time

[`SMPTETime`](/documentation/CoreAudioTypes/SMPTETime)

A structure that defines an SMPTE time value.

[`SMPTETimeFlags`](/documentation/CoreAudioTypes/SMPTETimeFlags)

A structure that defines SMPTE time flags.

[`SMPTETimeType`](/documentation/CoreAudioTypes/SMPTETimeType)

Constants that define SMPTE time types.

### Values

[`AudioValueRange`](/documentation/CoreAudioTypes/AudioValueRange)

A structure that represents a continuous range of values.

[`AudioValueTranslation`](/documentation/CoreAudioTypes/AudioValueTranslation)

A structure that stores buffers to use in translation operations.

### Streams

[`AudioStreamBasicDescription`](/documentation/CoreAudioTypes/AudioStreamBasicDescription)

A format specification for an audio stream.

[`AudioStreamPacketDescription`](/documentation/CoreAudioTypes/AudioStreamPacketDescription)

A value that describes a packet in a buffer of audio data.

[`AudioFormatFlags`](/documentation/CoreAudioTypes/AudioFormatFlags)

A type definition for audio format flags.

[Audio Format Flags](/documentation/CoreAudioTypes/audio-format-flags)

Commonly used combinations of data format flags for an audio stream description.

[`AudioFormatID`](/documentation/CoreAudioTypes/AudioFormatID)

A type definition for audio format identifiers.

[Audio Format Identifiers](/documentation/CoreAudioTypes/audio-format-identifiers)

Identifiers for supported audio formats.

[`kAudioStreamAnyRate`](/documentation/CoreAudioTypes/kAudioStreamAnyRate)

A value that indicates that an audio stream can use any sample rate.

[`MPEG4ObjectID`](/documentation/CoreAudioTypes/MPEG4ObjectID)

Constants that define the type of MPEG-4 audio data.

### Streams

[`AudioStreamBasicDescription`](/documentation/CoreAudioTypes/AudioStreamBasicDescription)

A format specification for an audio stream.

[`AudioStreamPacketDescription`](/documentation/CoreAudioTypes/AudioStreamPacketDescription)

A value that describes a packet in a buffer of audio data.

[`AudioFormatFlags`](/documentation/CoreAudioTypes/AudioFormatFlags)

A type definition for audio format flags.

[`AudioFormatID`](/documentation/CoreAudioTypes/AudioFormatID)

A type definition for audio format identifiers.

[`kAudioStreamAnyRate`](/documentation/CoreAudioTypes/kAudioStreamAnyRate)

A value that indicates that an audio stream can use any sample rate.

[`MPEG4ObjectID`](/documentation/CoreAudioTypes/MPEG4ObjectID)

Constants that define the type of MPEG-4 audio data.

### Common Types

[`AVAudioInteger`](/documentation/CoreAudioTypes/AVAudioInteger)

An integer type for audio operations.

[`AVAudioUInteger`](/documentation/CoreAudioTypes/AVAudioUInteger)

An unsigned integer type for audio operations.

[`AudioSessionID`](/documentation/CoreAudioTypes/AudioSessionID)

A unique identifier of an audio session.

[`kAudioUnitSampleFractionBits`](/documentation/CoreAudioTypes/kAudioUnitSampleFractionBits)

The number of fractional bits in fixed-point samples.

[`COREAUDIOTYPES_VERSION`](/documentation/CoreAudioTypes/COREAUDIOTYPES_VERSION)

A value that represents the Core Audio Types version.

[`AudioSampleType`](/documentation/CoreAudioTypes/AudioSampleType)

The canonical audio data sample type for input and output.

[`AudioUnitSampleType`](/documentation/CoreAudioTypes/AudioUnitSampleType)

The canonical audio data sample type for audio processing.

[`AudioFormatListItem`](/documentation/CoreAudioTypes/AudioFormatListItem)

### Common Types

[`AVAudioInteger`](/documentation/CoreAudioTypes/AVAudioInteger)

An integer type for audio operations.

[`AVAudioUInteger`](/documentation/CoreAudioTypes/AVAudioUInteger)

An unsigned integer type for audio operations.

[`AudioSessionID`](/documentation/CoreAudioTypes/AudioSessionID)

A unique identifier of an audio session.

[`kAudioUnitSampleFractionBits`](/documentation/CoreAudioTypes/kAudioUnitSampleFractionBits)

The number of fractional bits in fixed-point samples.

[`AVAudioSessionErrorInsufficientPriority`](/documentation/CoreAudioTypes/AVAudioSessionErrorInsufficientPriority)

An error code that indicates the app isn’t allowed to set the audio category because it’s in use by another app.

[`COREAUDIOTYPES_VERSION`](/documentation/CoreAudioTypes/COREAUDIOTYPES_VERSION)

A value that represents the Core Audio Types version.

[`AudioSampleType`](/documentation/CoreAudioTypes/AudioSampleType)

The canonical audio data sample type for input and output.

[`AudioUnitSampleType`](/documentation/CoreAudioTypes/AudioUnitSampleType)

The canonical audio data sample type for audio processing.

[`AudioFormatListItem`](/documentation/CoreAudioTypes/AudioFormatListItem)

### Errors

[`kAudio_ParamError`](/documentation/CoreAudioTypes/kAudio_ParamError)

An error in the parameter list of the function.

[`kAudio_MemFullError`](/documentation/CoreAudioTypes/kAudio_MemFullError)

An error that indicates that the heap zone is full.

[`kAudio_FileNotFoundError`](/documentation/CoreAudioTypes/kAudio_FileNotFoundError)

An error that indicates the file wasn’t found.

[`kAudio_UnimplementedError`](/documentation/CoreAudioTypes/kAudio_UnimplementedError)

An error that indicates the app called an unimplemented system function.

### Reference

[CoreAudioTypes Enumerations](/documentation/CoreAudioTypes/coreaudiotypes-enumerations)



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)