benilla-re systems structs docs

EmitterPump

function · sound · primitive

Address
0x461990 · 130 bytes, up to 0x461a11
Meaning
Serves the emitter entries in order, fading every one after the fourth that sounds
Confidence
verified, proof one
Finding
sound/ambience#emitter-pump

Finding: Emitter pump in sound: ambience and reverb

Each frame the pump walks the 32 entries in index order. Once four are sounding it fades every later entry's sound over 3.0 s. Otherwise it serves the entry: its nearest used position to the listener is chosen; a silent entry opens its sound as a 3D loop there (an open that fails disables the id); a sounding entry moves to the nearest position when that changes. An entry counts as sounding while its sound plays and is not cut off by distance.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 3

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