Phaser API Documentation

  Version: 
<private> globalMute(soundManager, mute)

Description:

Internal global mute handler. Will mute the video, if playing, if the global sound system mutes.

Parameters:

name type description
soundManager Phaser.Sound.WebAudioSoundManager | Phaser.Sound.HTML5AudioSoundManager

A reference to the Sound Manager that emitted the event.

mute boolean

The mute value. true if the Sound Manager is now muted, otherwise false.

Since: 3.20.0