From 32e8dbaf389e9f36f3f0a4631172e345abde5e44 Mon Sep 17 00:00:00 2001
From: Rick Pasetto <rick@lindenlab.com>
Date: Wed, 17 Feb 2010 17:28:08 -0800
Subject: [PATCH] EXT-5079 : Make sure to initialize ambient audio properly
 when it is muted

Reviewed by Richard (actually it was his idea)
---
 indra/newview/llvieweraudio.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/indra/newview/llvieweraudio.cpp b/indra/newview/llvieweraudio.cpp
index 934981b0ad8..1d935f5ab8e 100644
--- a/indra/newview/llvieweraudio.cpp
+++ b/indra/newview/llvieweraudio.cpp
@@ -251,7 +251,7 @@ void audio_update_wind(bool force_update)
 		{
 			// initialize wind volume (force_update) by using large volume_delta
 			// which is sufficient to completely turn off or turn on wind noise
-			volume_delta = max_wind_volume;
+			volume_delta = 1.f;
 		}
 
 		// mute wind when not flying
-- 
GitLab