VideoClip.GetAudioChannelCount(number audioTrackIdx)
The number of channels in the audio track. E.g. 2 for a stereo track.
Parameters:
Name | Type | Description |
---|---|---|
audioTrackIdx | number | Index of the audio queried audio track. |
Returns:
type | Description |
---|---|
number | The number of channels. |
Usage
---@type VideoClip
local videoclip;
---@type number
local audioTrackIdx;
local val0 = videoclip.GetAudioChannelCount(audioTrackIdx)