FMOD_OUTPUT_OBJECT3DALLOC_CALLBACK

FMOD Studio API

Firelight Technologies FMOD Studio API

FMOD_OUTPUT_OBJECT3DALLOC_CALLBACK

Called from the mixer thread to reserve a hardware resources for a single 3D object. Called during a mix.

C/C++ Syntax

FMOD_RESULT F_CALLBACK FMOD_OUTPUT_OBJECT3DALLOC_CALLBACK(
  FMOD_OUTPUT_STATE *output_state,
  void **object3d
);

Parameters

output_state

Pointer to the plugin state. The user can use this variable to access runtime plugin specific variables and plugin writer user data.

object3d

Address of a variable to receieve the native 3D audio object pointer, it will be passed into following FMOD_OUTPUT_OBJECT3DUPDATE_CALLBACK and FMOD_OUTPUT_OBJECT3DFREE_CALLBACK callbacks.

Return Values

If the function succeeds then the return value is FMOD_OK.
If the function fails then the return value will be one of the values defined in the FMOD_RESULT enumeration.

See Also




Version 1.10.03 Built on Feb 1, 2018