FMOD_DEBUG_CALLBACK

FMOD Studio API

Firelight Technologies FMOD Studio API

FMOD_DEBUG_CALLBACK

Callback for debug messages when using the logging version of FMOD.

C/C++ Syntax

FMOD_RESULT F_CALLBACK FMOD_DEBUG_CALLBACK(
  FMOD_DEBUG_FLAGS flags,
  const char *file,
  int line,
  const char *func,
  const char *message
);

Parameters

flags

Flags which detail the level and type of this log.

file

Source code file name where the message originated.

line

Source code line number where the message originated.

func

Class and function name where the message originated.

message

Actual debug message associated with the callback.

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

This callback will fire directly from the log line, as such it can be from any thread.

See Also




Version 1.10.03 Built on Feb 1, 2018