benilla-re systems structs docs

Sound::SetMasterSoundEffects

function · sound · orchestration

Address
0x7a6570 · 34 bytes, up to 0x7a6591
Meaning
Stores the sound-effects off state when it changes and applies it to every sound
Confidence
verified, proof one
Name from
the community database (idb)
Finding
sound/engine#category-volumes

Finding: Category volumes in sound: the engine

The Sound, Music and Ambience volume setters clamp to [0, 1] (NaN becomes 1), store the factor and reapply every channel whose flags & 0xa is 0, 2 or 8. The master volume clamps the same way and calls FSOUND_SetSFXMasterVolume once with the rounded level. Turning sound effects off pauses every looped or ambience non-music sound under reason 1 and destroys the other non-music sounds, keeping records with flag 0x4 but stopping their streams; turning them on clears reason 1.

The derivation is in the doc.

Callers 1

Callees 1

Calls and jumps by a bare address, from tables/calls.tsv.