NORSPEC-196: fix frame stalls caused by FmodEx logging

meow-7.2.2
callum_linden 2013-05-21 17:10:30 -04:00
parent 0ebcb7e3fd
commit c0bd675fdb
1 changed files with 3 additions and 0 deletions

View File

@ -104,6 +104,9 @@ bool LLAudioEngine_FMODEX::init(const S32 num_channels, void* userdata)
//if(Check_FMOD_Error(result, "FMOD::Memory_Initialize"))
// return false;
// turn off non-error log spam to fmod.log (TODO: why do we even have an fmod.log if we don't link against log lib?)
FMOD::Debug_SetLevel(FMOD_DEBUG_LEVEL_ERROR);
result = FMOD::System_Create(&mSystem);
if(Check_FMOD_Error(result, "FMOD::System_Create"))
return false;