# GetTargetAudioSource(ushort)

> Gets the AudioSource that will receive audio samples for the specified track if VideoPlayer.audioOutputMode is set to VideoAudioOutputMode.AudioSource.

## Definition

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

```csharp
public AudioSource GetTargetAudioSource(ushort trackIndex)
```

### Parameters

**** (\[ushort]\(https\://learn.microsoft.com/dotnet/api/system.uint16)): Index of the audio track for which the [AudioSource](/engine/6000.6/script-reference/unityengine/audiosource.md) is wanted.

### Returns

| Type                                                                      | Description                                 |
| ------------------------------------------------------------------------- | ------------------------------------------- |
| [AudioSource](/engine/6000.6/script-reference/unityengine/audiosource.md) | The source associated with the audio track. |
