ReadSoundParams
function · sound · primitive
- Address
0x7a48e0· 309 bytes, up to0x7a4a14- 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.
| parameter | default | range |
|---|---|---|
| SoundOutputSystem | −1 | −1 to 13 |
| SoundDriver | −1 → 0 | −1 to drivers − 1 |
| SoundMixer | −1 → 4 | −1 to 9 |
| SoundBufferSize | 0 (not set) | ≥ 0 |
| SoundMin / MaxHardwareChannels | −1 (not set) / 12 | ≥ −1 |
| SoundMixRate, SoundSoftwareChannels | 44100, 12 | |
| SoundInitFlags | 0x80, then `& ~0x200 | 2` |
| SoundDistance / Doppler / RolloffFactor | 1.0, 1.0, 4.0 | |
| SoundMemoryCache | 1 |
The derivation is in the doc.
Callers 1
- Sound::Initialize sound
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.