Return the audio module's master gain node — the single GainNode
every playback path runs through on its way to ctx.destination,
and the lever that setVolume / muteAll manipulate.
Connect to this node (instead of ctx.destination) whenever you
build a custom WebAudio graph and want the result to respect the
engine's mute / volume state. Returns null when audio is disabled
or unavailable.
Return the audio module's master gain node — the single
GainNodeevery playback path runs through on its way toctx.destination, and the lever that setVolume / muteAll manipulate.Connect to this node (instead of
ctx.destination) whenever you build a custom WebAudio graph and want the result to respect the engine's mute / volume state. Returnsnullwhen audio is disabled or unavailable.