<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.15.0 -",
    "tvOS: 13.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 6.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreAudioTypes",
  "identifier" : "/documentation/CoreAudioTypes/AudioChannelLayout/UnsafeMutablePointer/count",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Core Audio Types"
    ],
    "preciseIdentifier" : "s:So18AudioChannelLayoutV04CoreA0E20UnsafeMutablePointerV5countSivp"
  },
  "title" : "count"
}
-->

# count

The number of `AudioChannelDescription`s

```
var count: Int { get nonmutating set }
```

## Discussion

Warning: Setting a new value will not change the allocated size and may
result in invalid access past the allocation.

---

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)