# GetAudioChannelCount(ushort)

> The number of audio channels in the specified audio track.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.Video](/engine/6000.3/script-reference/unityengine/video.md)
* **Assembly:** UnityEngine.VideoModule

```csharp
public ushort GetAudioChannelCount(ushort trackIndex)
```

### Parameters

**** (\[ushort]\(https\://learn.microsoft.com/dotnet/api/system.uint16)): Index for the audio track being queried.

### Returns

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

### Remarks

For URL sources, this will only be set once the source preparation is completed.  See [VideoPlayer.Prepare](/engine/6000.3/script-reference/unityengine/video/videoplayer/prepare.md).
