<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AudioToolbox",
  "identifier" : "/documentation/AudioToolbox/kAudioFormatProperty_AvailableEncodeNumberChannels",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "Audio Toolbox"
    ],
    "preciseIdentifier" : "c:@Ea@kAudioFormatProperty_FormatInfo@kAudioFormatProperty_AvailableEncodeNumberChannels"
  },
  "title" : "kAudioFormatProperty_AvailableEncodeNumberChannels"
}
-->

# kAudioFormatProperty_AvailableEncodeNumberChannels

An array of `UInt32` values indicating the number of channels that can be encoded.

```
var kAudioFormatProperty_AvailableEncodeNumberChannels: AudioFormatPropertyID { get }
```

## Discussion

An array of `UInt32` values indicating the number of channels that can be encoded. A value of `0xFFFFFFFF` indicates that any number of channels may be encoded. The specifier is an <doc://com.apple.documentation/documentation/CoreAudioTypes/AudioStreamBasicDescription> structure with at least the `mFormatID` field set.

---

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)