Sound::IsNearCutoff
function · sound · primitive
- Address
0x7a6960· 9 bytes, up to0x7a6968- Meaning
- Returns the flag that a sound is inside 0.9 of its cutoff
- Confidence
- verified, proof one
- Finding
- sound/engine#flags-of-a-sound
Finding: Flags of a sound in sound: the engine
The low byte of +0x38 is the caller's: bit 0x1 asks for the duplicate check, 0x2 puts the sound
on the music category and exempts it from the sound-effects switch and the focus refusal, 0x4 keeps
the record when the stream ends, 0x8 is the ambience category and 0x10 no category. The engine
sets 0x10000 inside 0.9 of the cutoff, 0x20000 release when faded, 0x40000 position set, 0x80000
volume set, 0x100000 cut off, 0x200000 counted on its bus, 0x400000 velocity set, 0x2000000
frequency set, 0x4000000 looped, 0x8000000 3D, and one bit per list: 0x10000000 cutoff,
0x20000000 panning, 0x40000000 objects, 0x80000000 fades.
The derivation is in the doc.
Callers 1
- Sound::ProcessCutoffList sound
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.