FMOD_OUTPUT_GETNUMDRIVERS_CALLBACK

FMOD Studio API

Firelight Technologies FMOD Studio API

FMOD_OUTPUT_GETNUMDRIVERS_CALLBACK

Called when the user calls System::getNumDrivers.

C/C++ Syntax

FMOD_RESULT F_CALLBACK FMOD_OUTPUT_GETNUMDRIVERS_CALLBACK(
  FMOD_OUTPUT_STATE *output_state,
  int *numdrivers
);

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.

numdrivers

Address of a variable to receive the number of output drivers in your plugin.

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.

Remarks

Remember to return FMOD_OK at the bottom of the function, or an appropriate error code from FMOD_RESULT.
Optional. FMOD will assume 0 if this is not specified.

See Also




Version 1.10.03 Built on Feb 1, 2018