summaryrefslogtreecommitdiff
path: root/indra/llaudio/llaudioengine_fmodex.cpp
diff options
context:
space:
mode:
authorcallum_linden <none@none>2013-05-20 15:09:42 -0700
committercallum_linden <none@none>2013-05-20 15:09:42 -0700
commit1f9710ebcbe90639b876b1f5868492bf4e2ddcc8 (patch)
treed49f906fc74e97bbc39870534faef806bd37de4f /indra/llaudio/llaudioengine_fmodex.cpp
parent9ef64494559dce5f7c0afb271b591036054f01ce (diff)
Quieten down writing to fmod.log - only write errors - speculate this is related to audio stutter/frame stalls
Diffstat (limited to 'indra/llaudio/llaudioengine_fmodex.cpp')
-rw-r--r--indra/llaudio/llaudioengine_fmodex.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/llaudio/llaudioengine_fmodex.cpp b/indra/llaudio/llaudioengine_fmodex.cpp
index c2c3648ae8..0e789f9011 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;