0
0

In the debug version (xenon is what i’m using) FMOD prints out a ton of sometimes useful information.

This is good for me however the other developers will kill me for spamming debug console.

Is there a runtime way to turn off FMOD’s debug output so that I can enable it when I need it but for those not working on sound it won’t disturb them?

  • You must to post comments
0
0

That is not acceptable for us. If it is between a new build and not using the debug info I won’t be able use it. (not entirely my decision) At some points I might be forced to link it in for a one time build but that is error prone and time consuming.

A feature ubiquitous to logging systems is a verbosity control where by differing amounts of detail are printed (status, warning, error, fatal). Our engine has multiple messaging categories with configurable verbosities per category.

Another possibility is to allow us to set a callback for these messages so we can control their output.

  • You must to post comments
0
0

can that gDebugLevel be renamed to FMOD::gDebugLevel, or something prefixed. It’s just that Microsoft also has gVars, and it might become accidentaly an issue.

On the project I’m working, I’ve hacked our makefiles to link to the D library if the username or the computername (USERNAME, COMPUTERNAME) is my name.

ifeq ($(USERNAME),dstanev) /* my username */
LIBS += fmod…D.lib
else
LIBS += fmod…lib
endif

  • You must to post comments
0
0

This is actually the case. I had to wrap the above in

namespace FMOD {

}

To have it link correctly.

Thanks again.

  • You must to post comments
0
0

I still get the debug output. Any clue why?

  • You must to post comments
0
0

I as well still get it.

0 means none right?

Do i need to set this before or after init?

  • You must to post comments
0
0

Oh. It does work. It just always prints some stuff at first.

Most of the messages do turn off.

thanks again.

  • You must to post comments
0
0

It would be nice if ALL messages were turned off though. That is if you choose that debuglevel.

  • You must to post comments
Showing 7 results
Your Answer

Please first to submit.