Firelight Technologies FMOD Studio API

Debug_GetLevel

Retrieves the current debug logging level.

C++ Syntax

FMOD_RESULT Debug_GetLevel(
  FMOD_DEBUGLEVEL *level
);

C Syntax

FMOD_RESULT FMOD_Debug_GetLevel(
  FMOD_DEBUGLEVEL *level
);

Parameters

level

Address of a variable to receieve current debug level.

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 only has an effect with 'logging' versions of FMOD Studio. For example on windows it must be via fmodL.dll/fmodL64.dll and fmodstudioL.dll/fmodstudioL64.dll, not fmod.dll/fmod64.dll and fmodstudio.dll/fmodstudio64.dll.
On platforms with static library support you would link to the relevant fmodL.* / fmodstudioL.* libraries instead of fmod.* / fmodstudio.* libraries.
FMOD_ERR_UNSUPPORTED will be returned on non logging versions of FMOD Studio (ie full release).

See Also




Version 1.03.06 Built on Apr 17, 2014