<!--
{
  "availability" : [
    "iOS: 2.0.0 -",
    "iPadOS: 2.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.2.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 3.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreAudioTypes",
  "identifier" : "/documentation/CoreAudioTypes/kAudioFormatFlagIsPacked",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "Core Audio Types"
    ],
    "preciseIdentifier" : "c:@Ea@kAudioFormatFlagIsFloat@kAudioFormatFlagIsPacked"
  },
  "title" : "kAudioFormatFlagIsPacked"
}
-->

# kAudioFormatFlagIsPacked

A flag that indicates whether placement of the sample bits occupy the entire available bits of the channel.

```
var kAudioFormatFlagIsPacked: AudioFormatFlags { get }
```

## Discussion

Set this flag to indicate placement of the sample bits occupy the entire available bits of the channel. Clear this flag to indicate placement of the sample bits either with the high or low bits of the channel.

> Important:
> Even if this flag is clear, it’s still implied as set if the description’s fields have this relationship: `((mBitsPerSample / 8) * mChannelsPerFrame) == mBytesPerFrame`.

---

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)