benilla-re systems structs docs

SoundFmodAlloc

function · sound · orchestration

Address
0x7a47f0 · 25 bytes, up to 0x7a4808
Meaning
Allocates memory for FMOD with SMemAlloc
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.

Callers 0

None by a direct call or jump.

Callees 1

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