Sound::Play3DLooped
function · sound · primitive
- Address
0x7a5680· 118 bytes, up to0x7a56f5- Meaning
- Opens a file as a 3D loop, or once for a count of 1
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- sound/engine#opening-a-stream
Finding: Opening a stream in sound: the engine
Sound::Play(bus, name, mode, held, flags) refuses, returning null, a non-music sound while the
sound-effects switch is off or while the window is inactive. It calls FSOUND_Stream_Open(name, mode, 0, 0); a null stream returns null. It makes the record, sets the end callback and, unless
held, starts it with FSOUND_Stream_PlayEx(FSOUND_FREE, stream, NULL, FALSE); a failed start
frees the record and returns null. A started music sound is muted while the window is inactive. The
2D opener uses mode 0x82000, the 3D opener 0x1000; the looped openers use 0x82002 and 0x1002, call
FSOUND_Stream_SetLoopCount(stream, count − 1) (count 0 loops forever) and add flag 0x4000000.
The derivation is in the doc.
Callers 4
- PlaySoundLoop3D sound
- PlayObjectSoundLoop sound
- ServeEmitterEntry sound
- StartWaterLoop sound
Callees 4
- Sound::Play3D sound
- Sound::PlayLooped sound
- Sound::SetPaused sound
- Sound::DupeCheckFailed sound
Calls and jumps by a bare address, from tables/calls.tsv.