benilla-re systems structs docs

Sound::Initialize

function · sound · host

Address
0x7a4330 · 1202 bytes, up to 0x7a47e1
Meaning
Opens the log, checks the FMOD version, reads the parameters and sets FMOD up
Confidence
verified, proof one
Name from
the community database (idb)
Finding
sound/engine#device-initialization

Finding: Device initialization in sound: the engine

Sound::Initialize(getInt, getFloat, getString) opens Logs\Sound.log, refuses a second call, requires FSOUND_GetVersion to equal 3.75 (else returns 13), and reads its parameters through the getters with these defaults. A value out of range returns 14 before FMOD is set up.

parameterdefaultrange
SoundOutputSystem−1−1 to 13
SoundDriver−1 → 0−1 to drivers − 1
SoundMixer−1 → 4−1 to 9
SoundBufferSize0 (not set)≥ 0
SoundMin / MaxHardwareChannels−1 (not set) / 12≥ −1
SoundMixRate, SoundSoftwareChannels44100, 12
SoundInitFlags0x80, then `& ~0x2002`
SoundDistance / Doppler / RolloffFactor1.0, 1.0, 4.0
SoundMemoryCache1

The derivation is in the doc.

Callers 1

Callees 33

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