summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Antipov <mantipov@productengine.com>2009-12-16 20:43:12 +0200
committerMike Antipov <mantipov@productengine.com>2009-12-16 20:43:12 +0200
commitd2b0245d5886d823bf8ad343d61c6c6f0babc274 (patch)
treeaaa2133f8a55a5e3934d180ac0e6d93c435973a2
parente921eac328f60a44b2671cba6ea0bf09c03c14f3 (diff)
rename values to be more descriptive
--HG-- branch : product-engine
-rw-r--r--indra/newview/llspeakers.cpp6
-rw-r--r--indra/newview/llspeakers.h4
2 files changed, 5 insertions, 5 deletions
diff --git a/indra/newview/llspeakers.cpp b/indra/newview/llspeakers.cpp
index 6bbd3c6687..6e5a867426 100644
--- a/indra/newview/llspeakers.cpp
+++ b/indra/newview/llspeakers.cpp
@@ -657,12 +657,12 @@ void LLIMSpeakerMgr::moderateVoiceParticipant(const LLUUID& avatar_id, bool unmu
new ModerationResponder(getSessionID()));
}
-void LLIMSpeakerMgr::moderateVoiceOtherParticipants(const LLUUID& excluded_avatar_id, bool unmute)
+void LLIMSpeakerMgr::moderateVoiceOtherParticipants(const LLUUID& excluded_avatar_id, bool unmute_everyone_else)
{
// TODO: mantipov: add more intellectual processing of several following requests
mReverseVoiceModeratedAvatarID = excluded_avatar_id;
- moderateVoiceSession(getSessionID(), !unmute);
+ moderateVoiceSession(getSessionID(), !unmute_everyone_else);
/*
LLSpeakerMgr::speaker_list_t speakers;
getSpeakerList(&speakers, FALSE);
@@ -675,7 +675,7 @@ void LLIMSpeakerMgr::moderateVoiceOtherParticipants(const LLUUID& excluded_avata
if (excluded_avatar_id == speaker_id) continue;
- moderateVoiceParticipant(speaker_id, unmute);
+ moderateVoiceParticipant(speaker_id, unmute_everyone_else);
}
*/
}
diff --git a/indra/newview/llspeakers.h b/indra/newview/llspeakers.h
index 55d2351cbf..1a8c23f56a 100644
--- a/indra/newview/llspeakers.h
+++ b/indra/newview/llspeakers.h
@@ -181,11 +181,11 @@ public:
* It based call moderateVoiceParticipant() for each avatar should be muted/unmuted.
*
* @param[in] excluded_avatar_id UUID of avatar NOT to be processed
- * @param[in] unmute if true - avatars will be muted, otherwise - unmuted.
+ * @param[in] unmute_everyone_else if false - avatars will be muted, otherwise - unmuted.
*
* @see moderateVoiceParticipant()
*/
- void moderateVoiceOtherParticipants(const LLUUID& excluded_avatar_id, bool unmute);
+ void moderateVoiceOtherParticipants(const LLUUID& excluded_avatar_id, bool unmute_everyone_else);
void processSessionUpdate(const LLSD& session_update);