diff options
author | Aimee Linden <aimee@lindenlab.com> | 2010-05-28 17:19:20 +0100 |
---|---|---|
committer | Aimee Linden <aimee@lindenlab.com> | 2010-05-28 17:19:20 +0100 |
commit | 24a867a646a979d48cf5f4c94eae041507a09310 (patch) | |
tree | 5f963caa5c9fd69e3ef0669220cc736cf472d8a4 /indra/newview/llvoicevivox.cpp | |
parent | 176b5c5a67c3bd34da787c7446d7349dc1937803 (diff) | |
parent | 7983de22074beb25a832f89aa3e7a9728baca328 (diff) |
Merged from ssh://hg.lindenlab.com/dessie/viewer-private
Diffstat (limited to 'indra/newview/llvoicevivox.cpp')
-rw-r--r-- | indra/newview/llvoicevivox.cpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/indra/newview/llvoicevivox.cpp b/indra/newview/llvoicevivox.cpp index 04952a3659..96bde129ee 100644 --- a/indra/newview/llvoicevivox.cpp +++ b/indra/newview/llvoicevivox.cpp @@ -3873,9 +3873,15 @@ void LLVivoxVoiceClient::participantUpdatedEvent( if (speaker_manager) { speaker_manager->update(true); + + // also initialize voice moderate_mode depend on Agent's participant. See EXT-6937. + // *TODO: remove once a way to request the current voice channel moderation mode is implemented. + if (gAgentID == participant->mAvatarID) + { + speaker_manager->initVoiceModerateMode(); + } } } - } else { @@ -4257,7 +4263,9 @@ LLVivoxVoiceClient::participantState::participantState(const std::string &uri) : mLastSpokeTimestamp(0.f), mPower(0.f), mVolume(LLVoiceClient::VOLUME_DEFAULT), + mUserVolume(0), mOnMuteList(false), + mVolumeSet(false), mVolumeDirty(false), mAvatarIDValid(false), mIsSelf(false) @@ -5707,6 +5715,7 @@ LLVivoxVoiceClient::sessionState::sessionState() : mVoiceEnabled(false), mReconnect(false), mVolumeDirty(false), + mMuteDirty(false), mParticipantsChanged(false) { } |