# GetSourceAudioChannelCount(ushort)

> Number of audio channels in the specified source track.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor](/engine/6000.7/script-reference/unityeditor.md)
* **Assembly:** UnityEditor

```csharp
public ushort GetSourceAudioChannelCount(ushort audioTrackIdx)
```

### Parameters

**** (\[ushort]\(https\://learn.microsoft.com/dotnet/api/system.uint16)): Index of the audio track to query.

### Returns

| Type                                                           | Description         |
| -------------------------------------------------------------- | ------------------- |
| [ushort](https://learn.microsoft.com/dotnet/api/system.uint16) | Number of channels. |
