diff options
author | callum_linden <none@none> | 2013-05-21 17:10:30 -0400 |
---|---|---|
committer | callum_linden <none@none> | 2013-05-21 17:10:30 -0400 |
commit | c0bd675fdba88ac66ed9c9b89b4e6f6e4c8b706b (patch) | |
tree | 311c21cbef6d030c075eecbf2cecaa4bdb18550f /indra/llaudio | |
parent | 0ebcb7e3fd1452d42b5ca48139f99a4fd632d235 (diff) |
NORSPEC-196: fix frame stalls caused by FmodEx logging
Diffstat (limited to 'indra/llaudio')
-rw-r--r-- | indra/llaudio/llaudioengine_fmodex.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/llaudio/llaudioengine_fmodex.cpp b/indra/llaudio/llaudioengine_fmodex.cpp index fe6dedcd03..45fc3186f4 100644 --- a/indra/llaudio/llaudioengine_fmodex.cpp +++ b/indra/llaudio/llaudioengine_fmodex.cpp @@ -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; |