GetAudioChannelCount(ushort)
The number of audio channels in the specified audio track.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: UnityEngine.Video
- Assembly: UnityEngine.VideoModule
public ushort GetAudioChannelCount(ushort trackIndex)
Parameters
Index for the audio track being queried.
Returns
Type | Description |
|---|---|
| ushort | Number of audio channels. |
Remarks
For URL sources, this will only be set once the source preparation is completed. See VideoPlayer.Prepare.