Skip to main content

VideoClip.GetAudioChannelCount(number audioTrackIdx)

The number of channels in the audio track. E.g. 2 for a stereo track.

Parameters:

NameTypeDescription
audioTrackIdxnumberIndex of the audio queried audio track.

Returns:

typeDescription
numberThe number of channels.

Usage

---@type VideoClip
local videoclip;

---@type number
local audioTrackIdx;


local val0 = videoclip.GetAudioChannelCount(audioTrackIdx)