s_soundOpenBlocked
global · sound
- Address
0xcf5600· 4 bytes, up to0xcf5603- Type
uint32_t- Meaning
- Holds 0; read by every open and written nowhere
- Confidence
- verified, proof one
- 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.