VideoClip.GetAudioSampleRate(number audioTrackIdx)
Get the audio track sampling rate in Hertz.
Parameters:
Name | Type | Description |
---|---|---|
audioTrackIdx | number | Index of the audio queried audio track. |
Returns:
type | Description |
---|---|
number | The sampling rate in Hertz. |
Usage
---@type VideoClip
local videoclip;
---@type number
local audioTrackIdx;
local val0 = videoclip.GetAudioSampleRate(audioTrackIdx)