benilla-re systems structs docs

ReadSoundParams

function · sound · primitive

Address
0x7a48e0 · 309 bytes, up to 0x7a4a14
Meaning
Stores the device parameter defaults and reads them through the getters
Confidence
verified, proof one
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 0

None by a direct call or jump.

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