SndInterfaceInitialize
function · sound · orchestration
- Address
0x456fe0· 91 bytes, up to0x45703a- Meaning
- Registers the sound CVars and, unless switch 0x1a is set, starts the engine and loads the definitions and tables
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- sound/interface#start-up
Finding: Start-up in sound: the interface
SndInterfaceInitialize registers the sound CVars and, unless the command-line switch with id
0x1a is set, initializes the engine with the three CVar getters, applies MasterVolume again (its
handler runs before FMOD is up), loads the sound definitions and their tables, builds the footstep
cache and resolves the named sounds. With the switch set nothing after the CVars runs: no device
and no definitions, so every later play finds no definition and does nothing. The engine's result
is not checked.
The derivation is in the doc.
Callers 1
- WowClientInit client
Callees 10
- CmdLineGetBool unassigned
- BuildFootstepTable sound
- RegisterCVars sound
- FindNamedSounds sound
- InitReverbFile sound
- InitGlueMusicFile sound
- LoadSoundDefinitions sound
- CVar::Lookup cvar
- Sound::Initialize sound
- Sound::SetMasterVolume sound
Calls and jumps by a bare address, from tables/calls.tsv.