summaryrefslogtreecommitdiff
path: root/indra/newview/llvoiceclient.cpp
diff options
context:
space:
mode:
authorMike Antipov <mantipov@productengine.com>2010-03-24 09:17:08 +0200
committerMike Antipov <mantipov@productengine.com>2010-03-24 09:17:08 +0200
commit07de4edbc45de93c04bc4d0a7c174a45c902b50f (patch)
tree14d90da452bb109e6f94567f057fac5f41ef0cf0 /indra/newview/llvoiceclient.cpp
parent2edbd733843d5ad0f9ec3dec49e676651bda07af (diff)
parent00a97a4f95f644b1807d72cebce6dd6a7a1cf31e (diff)
Merge from default branch
--HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llvoiceclient.cpp')
-rw-r--r--indra/newview/llvoiceclient.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/indra/newview/llvoiceclient.cpp b/indra/newview/llvoiceclient.cpp
index 5ba13efca2..9bb85d2bd5 100644
--- a/indra/newview/llvoiceclient.cpp
+++ b/indra/newview/llvoiceclient.cpp
@@ -4598,7 +4598,15 @@ void LLVoiceClient::participantUpdatedEvent(
{
participant->mPower = 0.0f;
}
- participant->mVolume = volume;
+
+ // *HACK: Minimal hack to fix EXT-6508, ignore the incoming volume if it is zero.
+ // This happens because we send volume zero to Vivox when someone is muted,
+ // Vivox then send it back to us, overwriting the previous volume.
+ // Remove this hack once volume refactoring from EXT-6031 is applied.
+ if (volume != 0)
+ {
+ participant->mVolume = volume;
+ }
// *HACK: mantipov: added while working on EXT-3544