<!--
{
  "documentType" : "article",
  "framework" : "AudioToolbox",
  "identifier" : "/documentation/AudioToolbox/1494086-audio-codec-component-constants",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Audio Codec Component Constants"
}
-->

# Audio Codec Component Constants

Audio codec component types.

## Discussion

Some possible audio codec component subtypes are listed in the format IDs enumeration in the CoreAudioTypes.h header file (see <doc://com.apple.documentation/documentation/CoreAudio/core-audio-data-types>).

## Topics

### Constants

[`var kAudioDecoderComponentType: UInt32`](/documentation/AudioToolbox/kAudioDecoderComponentType)

A codec that translates data in some other format into linear PCM.

[`var kAudioEncoderComponentType: UInt32`](/documentation/AudioToolbox/kAudioEncoderComponentType)

A codec that translates linear PCM data into some other format

[`var kAudioUnityCodecComponentType: UInt32`](/documentation/AudioToolbox/kAudioUnityCodecComponentType)



---

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)