ServeEmitterEntry
function · sound · primitive
- Address
0x461b40· 346 bytes, up to0x461c99- Meaning
- Opens or moves an emitter entry's loop at its nearest position; returns whether it 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 1
- EmitterPump sound
Callees 12
- ApplySoundDefVolumePitch sound
- ApplySoundDefDistances sound
- ApplySoundDefReverb sound
- PickSoundDefFile sound
- GetSoundDefinition sound
- NearestEmitterSlot sound
- Sound::Play3DLooped sound
- Sound::Stop sound
- Sound::IsPlaying sound
- Sound::IsCutOff sound
- Sound::SetPaused sound
- Sound::SetPosition sound
Calls and jumps by a bare address, from tables/calls.tsv.