Fmodex stereo fallback wasn't done quite right.

This commit is contained in:
Shyotl
2012-05-30 18:56:36 -05:00
parent 51a4e4960f
commit 063ce180d3

View File

@@ -295,7 +295,7 @@ bool LLAudioEngine_FMODEX::init(const S32 num_channels, void* userdata)
/*
... and re-init.
*/
result = mSystem->init(100, FMOD_INIT_NORMAL, 0);
result = mSystem->init( num_channels + 2, fmod_flags, 0);
}
if(Check_FMOD_Error(result, "Error initializing FMOD"))
return false;