diff options
author | Mike Antipov <mantipov@productengine.com> | 2010-04-28 18:11:34 +0300 |
---|---|---|
committer | Mike Antipov <mantipov@productengine.com> | 2010-04-28 18:11:34 +0300 |
commit | 8b53588f5768e644875effdccc6c2e74156c24ea (patch) | |
tree | 3403c0743766e0189eca7d75f7f8424f790dadce /indra/newview/llvieweraudio.cpp | |
parent | f9a120e8983a72b6de2f146acec55e079255b70e (diff) | |
parent | fe4b6a8d78c98db4c7d55877209ca272fa73b3d9 (diff) |
merge
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview/llvieweraudio.cpp')
-rw-r--r-- | indra/newview/llvieweraudio.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llvieweraudio.cpp b/indra/newview/llvieweraudio.cpp index 2661c9f32b..9559311e3c 100644 --- a/indra/newview/llvieweraudio.cpp +++ b/indra/newview/llvieweraudio.cpp @@ -145,7 +145,7 @@ void audio_update_volume(bool force_update) { F32 music_volume = gSavedSettings.getF32("AudioLevelMusic"); BOOL music_muted = gSavedSettings.getBOOL("MuteMusic"); - music_volume = mute_volume * master_volume * (music_volume*music_volume); + music_volume = mute_volume * master_volume * music_volume; gAudiop->setInternetStreamGain ( music_muted ? 0.f : music_volume ); } @@ -153,7 +153,7 @@ void audio_update_volume(bool force_update) // Streaming Media F32 media_volume = gSavedSettings.getF32("AudioLevelMedia"); BOOL media_muted = gSavedSettings.getBOOL("MuteMedia"); - media_volume = mute_volume * master_volume * (media_volume*media_volume); + media_volume = mute_volume * master_volume * media_volume; LLViewerMedia::setVolume( media_muted ? 0.0f : media_volume ); // Voice |