VideoPlayer.SetDirectAudioMute(number trackIndex, boolean mute)
Set the direct-output audio mute status for the specified track.
Parameters:
Name | Type | Description |
---|---|---|
trackIndex | number | Track index for which the mute is set. |
mute | boolean | Mute on/off. |
Usage
---@type VideoPlayer
local videoplayer;
---@type number
local trackIndex;
---@type boolean
local mute;
videoplayer.SetDirectAudioMute(trackIndex, mute)