void gb.sound.mute()
gb.sound.mute will mute all sounds immediately.
If you use it, it is recommended to fetch the mute-state via gb.sound.isMute first, to know if you have to unmute or not.
If you are planning to add a simple mute/unmute switch to your game: Don't. You can already do that via the home menu!
none
none
N/A