aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llaudio/audioengine.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/llaudio/audioengine.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/linden/indra/llaudio/audioengine.cpp b/linden/indra/llaudio/audioengine.cpp
index 7bb65e9..75901e8 100644
--- a/linden/indra/llaudio/audioengine.cpp
+++ b/linden/indra/llaudio/audioengine.cpp
@@ -879,7 +879,8 @@ void LLAudioEngine::triggerSound(const LLUUID &audio_uuid, const LLUUID& owner_i
879 // Create a new source (since this can't be associated with an existing source. 879 // Create a new source (since this can't be associated with an existing source.
880 //LL_INFOS("AudioEngine") << "Localized: " << audio_uuid << llendl; 880 //LL_INFOS("AudioEngine") << "Localized: " << audio_uuid << llendl;
881 881
882 if (mMuted) 882 //If we cannot hear it, dont even try to load the sound.
883 if (mMuted || gain == 0.0)
883 { 884 {
884 return; 885 return;
885 } 886 }