Skip to main content

VideoPlayer.SetDirectAudioMute(number trackIndex, boolean mute)

Set the direct-output audio mute status for the specified track.

Parameters:

NameTypeDescription
trackIndexnumberTrack index for which the mute is set.
mutebooleanMute on/off.

Usage

---@type VideoPlayer
local videoplayer;

---@type number
local trackIndex;

---@type boolean
local mute;


videoplayer.SetDirectAudioMute(trackIndex, mute)