Volumes
interface Volumes
Per-line volume and mute settings.
Each entry is keyed by a line name. Per-player volumes are stored under the "source_<playerId>" line name; the player* methods are shorthands that build this key for you, so e.g. getPlayerVolume is equivalent to getVolume("source_" + playerId).
Functions
Link copied to clipboard
Returns the mute entry for the given player, creating it with the default value if absent.
Link copied to clipboard
Returns the volume entry for the given player, creating it with the default value if absent.
Link copied to clipboard
Mutes or unmutes the given player.
Link copied to clipboard
Sets the volume for the given player.