RegisterAmbienceCVars
function · sound · orchestration
- Address
0x460a60· 67 bytes, up to0x460aa2- Meaning
- Registers AmbienceVolume and EnableAmbience
- Confidence
- verified, proof one
- 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 1
- CVar::Register cvar
Calls and jumps by a bare address, from tables/calls.tsv.