Audio engine, fix Wind Synth

This commit is contained in:
Siana Gearz
2011-02-08 00:46:17 +01:00
parent 1577f7367a
commit 1919c00f2d
3 changed files with 6 additions and 6 deletions

View File

@@ -823,7 +823,7 @@ void LLAudioEngine::triggerSound(const LLUUID &audio_uuid, const LLUUID& owner_i
// Create a new source (since this can't be associated with an existing source.
//llinfos << "Localized: " << audio_uuid << llendl;
if (mMuted)
if (mMuted || gain < FLT_EPSILON*2)
{
return;
}