SoundInterfaceRegisterWorldCVars
function · sound · orchestration
- Address
0x457840· 125 bytes, up to0x4578bc- Meaning
- Registers the four world sound CVars and the ambience pair
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- sound/interface#sound-cvars
Finding: Sound CVars in sound: the interface
The CVars, with their defaults (category 7). The device CVars carry flag 2.
| CVar | default | handler |
|---|---|---|
| SoundBufferSize | "50" for processor class 1 (console/hardware#processor-class), else "100" | |
| SoundOutputSystem, SoundDriver, SoundMixer, SoundMinHardwareChannels | "-1" | |
| SoundMaxHardwareChannels, SoundSoftwareChannels | "12" | |
| SoundMixRate, SoundInitFlags, SoundMemoryCache, SoundRolloffFactor | "44100", "128", "4", "4" | |
| MusicVolume, SoundVolume, MasterVolume | "0.4", "1.0", "1.0" | set the factors |
| MasterSoundEffects, EnableMusic, SoundReverb | "1" | yes |
| EmoteSounds | "1" | |
| EnableGroupSpeech, EnableErrorSpeech, SoundListenerAtCharacter | "1" (world) | |
| SoundZoneMusicNoDelay | "0" (world) | |
| AmbienceVolume, EnableAmbience | "0.6", "1" (world) | yes |
The derivation is in the doc.
Callers 1
Callees 2
- RegisterAmbienceCVars sound
- CVar::Register cvar
Calls and jumps by a bare address, from tables/calls.tsv.