s_soundMixRate
global · sound
- Address
0x87cef0· 4 bytes, up to0x87cef3- Type
uint32_t- Meaning
- Holds the output rate, 44100 until the device is set up
- Confidence
- verified, proof one
- Finding
- sound/engine#fmod-set-up-sequence
Finding: FMOD set-up sequence in sound: the engine
In order the client calls SetOutput, SetDriver, GetDriverCaps (bit 0 clear sets the maximum
hardware channels to 0), SetMixer, SetBufferSize when non-zero, SetHWND with the window,
SetMin/SetMaxHardwareChannels when not −1, SetMemorySystem(NULL, 0, alloc, realloc, free) with
Storm wrappers tagged "FMod", the file cache with the memory cache size, File_SetCallbacks with
the file cache's open, close, read, seek and tell, and Init(rate, channels, flags). A failing call
logs Error: %s(%i) returned %i and returns FMOD's error code. On success it keeps the rate, logs
the output, driver, mixer and channel counts, registers the frame handler and the focus handler,
zeroes the 13 bus counters and sets the three 3D factors.
The derivation is in the doc.