<!--
{
  "availability" : [
    "macOS: 10.10.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFAudio",
  "identifier" : "/documentation/AVFAudio/AVAudioUnitComponent/supportsNumberInputChannels(_:outputChannels:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AVFAudio"
    ],
    "preciseIdentifier" : "c:objc(cs)AVAudioUnitComponent(im)supportsNumberInputChannels:outputChannels:"
  },
  "title" : "supportsNumberInputChannels(_:outputChannels:)"
}
-->

# supportsNumberInputChannels(_:outputChannels:)

Gets a Boolean value that indicates whether the audio unit component supports the specified number of input and output channels.

```
func supportsNumberInputChannels(_ numInputChannels: Int, outputChannels numOutputChannels: Int) -> Bool
```

## Parameters

`numInputChannels`

The number of input channels.

`numOutputChannels`

The number of output channels.

## Return Value

A value of <doc://com.apple.documentation/documentation/Swift/true> if the audio unit component supports the specified number of input and output channels; otherwise, <doc://com.apple.documentation/documentation/Swift/false>.

## Discussion

---

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)