Firelight Technologies FMOD Studio API
Struct containing System level callbacks for plugins, to enable a plugin to query information about the system or allocate memory using FMOD's (and therefore possibly the game's) allocators.
typedef struct {
FMOD_MEMORY_ALLOC_CALLBACK alloc;
FMOD_MEMORY_REALLOC_CALLBACK realloc;
FMOD_MEMORY_FREE_CALLBACK free;
FMOD_DSP_SYSTEM_GETSAMPLERATE getsamplerate;
FMOD_DSP_SYSTEM_GETBLOCKSIZE getblocksize;
} FMOD_DSP_STATE_SYSTEMCALLBACKS;
alloc
[r] Memory allocation callback. Use this for all dynamic memory allocation within the plugin.
realloc
[r] Memory reallocation callback.
free
[r] Memory free callback.
getsamplerate
[r] Callback for getting the system samplerate.
getblocksize
[r] Callback for getting the system's block size. DSPs will be requested to process blocks of varying length up to this size.
Members marked with [r] mean the variable is modified by FMOD and is for reading purposes only. Do not change this value.
Members marked with [w] mean the variable can be written to. The user can set the value.
Version 1.03.06 Built on Apr 17, 2014