benilla-re systems structs docs

RegisterCVars

function · sound · orchestration

Address
0x4571b0 · 560 bytes, up to 0x4573df
Meaning
Registers the 18 global sound CVars with their defaults and handlers
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.

CVardefaulthandler
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

Calls and jumps by a bare address, from tables/calls.tsv.