benilla-re systems structs docs

ApplySoundEffectsOff

function · sound · orchestration

Address
0x7a67a0 · 130 bytes, up to 0x7a6821
Meaning
Pauses, stops or destroys the non-music sounds for the sound-effects switch
Confidence
verified, proof one
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 4

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