diff options
author | Roxie Linden <roxie@lindenlab.com> | 2010-05-04 14:03:30 -0700 |
---|---|---|
committer | Roxie Linden <roxie@lindenlab.com> | 2010-05-04 14:03:30 -0700 |
commit | 2848d35e2cc72ba02817fc657fe248ccf91e3da8 (patch) | |
tree | f64ff257516b37c95bdd02daf0702b428b4d4c13 /indra/newview/llvoicevivox.h | |
parent | 658ccc3e85487f9f24ff3b5926e60d6cce7f42e0 (diff) |
re-merge e7cef87fae39 - EXT-6031 refactoring of voice volume representation
Diffstat (limited to 'indra/newview/llvoicevivox.h')
-rw-r--r-- | indra/newview/llvoicevivox.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/indra/newview/llvoicevivox.h b/indra/newview/llvoicevivox.h index 10577254e8..e4e0b87ad0 100644 --- a/indra/newview/llvoicevivox.h +++ b/indra/newview/llvoicevivox.h @@ -260,7 +260,7 @@ protected: public: participantState(const std::string &uri); - bool updateMuteState(); + bool updateMuteState(); // true if mute state has changed bool isAvatar(); std::string mURI; @@ -270,13 +270,14 @@ protected: LLFrameTimer mSpeakingTimeout; F32 mLastSpokeTimestamp; F32 mPower; - int mVolume; + F32 mVolume; std::string mGroupID; int mUserVolume; bool mPTT; bool mIsSpeaking; bool mIsModeratorMuted; bool mOnMuteList; // true if this avatar is on the user's mute list (and should be muted) + bool mVolumeSet; // true if incoming volume messages should not change the volume bool mVolumeDirty; // true if this participant needs a volume command sent (either mOnMuteList or mUserVolume has changed) bool mAvatarIDValid; bool mIsSelf; @@ -333,6 +334,7 @@ protected: // Set to true when the mute state of someone in the participant list changes. // The code will have to walk the list to find the changed participant(s). bool mVolumeDirty; + bool mMuteDirty; bool mParticipantsChanged; participantMap mParticipantsByURI; |