diff options
Diffstat (limited to 'indra/llaudio')
| -rw-r--r-- | indra/llaudio/llaudioengine.cpp | 5 | 
1 files changed, 4 insertions, 1 deletions
| diff --git a/indra/llaudio/llaudioengine.cpp b/indra/llaudio/llaudioengine.cpp index c9cb1cd6e7..8baba79f59 100644 --- a/indra/llaudio/llaudioengine.cpp +++ b/indra/llaudio/llaudioengine.cpp @@ -97,7 +97,10 @@ void LLAudioEngine::setDefaults()  	}  	mMasterGain = 1.f; -	mInternalGain = 0.f; +	// Setting mInternalGain to a very low but non-zero value fixes the issue reported in STORM-830. +	// There is an edge case in setMasterGain during startup which prevents setInternalGain from  +	// being called if the master volume setting and mInternalGain both equal 0. +	mInternalGain = 0.0000000001f;  	mNextWindUpdate = 0.f;  	mStreamingAudioImpl = NULL; | 
