diff options
author | Jacek Antonelli | 2008-08-15 23:45:27 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:27 -0500 |
commit | a8a62201ba762e98dff92cf49033e577fc34d8d4 (patch) | |
tree | 11f8513c5cdc222f2fac0c93eb724c089803c200 /linden/indra/newview/llvoiceclient.h | |
parent | Second Life viewer sources 1.18.6.4-RC (diff) | |
download | meta-impy-a8a62201ba762e98dff92cf49033e577fc34d8d4.zip meta-impy-a8a62201ba762e98dff92cf49033e577fc34d8d4.tar.gz meta-impy-a8a62201ba762e98dff92cf49033e577fc34d8d4.tar.bz2 meta-impy-a8a62201ba762e98dff92cf49033e577fc34d8d4.tar.xz |
Second Life viewer sources 1.19.0.0
Diffstat (limited to 'linden/indra/newview/llvoiceclient.h')
-rw-r--r-- | linden/indra/newview/llvoiceclient.h | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/linden/indra/newview/llvoiceclient.h b/linden/indra/newview/llvoiceclient.h index 71044a8..d12bfa8 100644 --- a/linden/indra/newview/llvoiceclient.h +++ b/linden/indra/newview/llvoiceclient.h | |||
@@ -12,12 +12,12 @@ | |||
12 | * ("GPL"), unless you have obtained a separate licensing agreement | 12 | * ("GPL"), unless you have obtained a separate licensing agreement |
13 | * ("Other License"), formally executed by you and Linden Lab. Terms of | 13 | * ("Other License"), formally executed by you and Linden Lab. Terms of |
14 | * the GPL can be found in doc/GPL-license.txt in this distribution, or | 14 | * the GPL can be found in doc/GPL-license.txt in this distribution, or |
15 | * online at http://secondlife.com/developers/opensource/gplv2 | 15 | * online at http://secondlifegrid.net/programs/open_source/licensing/gplv2 |
16 | * | 16 | * |
17 | * There are special exceptions to the terms and conditions of the GPL as | 17 | * There are special exceptions to the terms and conditions of the GPL as |
18 | * it is applied to this Source Code. View the full text of the exception | 18 | * it is applied to this Source Code. View the full text of the exception |
19 | * in the file doc/FLOSS-exception.txt in this software distribution, or | 19 | * in the file doc/FLOSS-exception.txt in this software distribution, or |
20 | * online at http://secondlife.com/developers/opensource/flossexception | 20 | * online at http://secondlifegrid.net/programs/open_source/licensing/flossexception |
21 | * | 21 | * |
22 | * By copying, modifying or distributing this software, you acknowledge | 22 | * By copying, modifying or distributing this software, you acknowledge |
23 | * that you have read and understood your obligations described above, | 23 | * that you have read and understood your obligations described above, |
@@ -63,6 +63,7 @@ public: | |||
63 | STATUS_JOINING, | 63 | STATUS_JOINING, |
64 | STATUS_JOINED, | 64 | STATUS_JOINED, |
65 | STATUS_LEFT_CHANNEL, | 65 | STATUS_LEFT_CHANNEL, |
66 | STATUS_VOICE_DISABLED, | ||
66 | BEGIN_ERROR_STATUS, | 67 | BEGIN_ERROR_STATUS, |
67 | ERROR_CHANNEL_FULL, | 68 | ERROR_CHANNEL_FULL, |
68 | ERROR_CHANNEL_LOCKED, | 69 | ERROR_CHANNEL_LOCKED, |
@@ -139,6 +140,7 @@ class LLVoiceClient: public LLSingleton<LLVoiceClient> | |||
139 | void tuningStart(); | 140 | void tuningStart(); |
140 | void tuningStop(); | 141 | void tuningStop(); |
141 | bool inTuningMode(); | 142 | bool inTuningMode(); |
143 | bool inTuningStates(); | ||
142 | 144 | ||
143 | void tuningRenderStartSendMessage(const std::string& name, bool loop); | 145 | void tuningRenderStartSendMessage(const std::string& name, bool loop); |
144 | void tuningRenderStopSendMessage(); | 146 | void tuningRenderStopSendMessage(); |
@@ -218,6 +220,7 @@ class LLVoiceClient: public LLSingleton<LLVoiceClient> | |||
218 | // Accessors for data related to nearby speakers | 220 | // Accessors for data related to nearby speakers |
219 | BOOL getVoiceEnabled(const LLUUID& id); // true if we've received data for this avatar | 221 | BOOL getVoiceEnabled(const LLUUID& id); // true if we've received data for this avatar |
220 | BOOL getIsSpeaking(const LLUUID& id); | 222 | BOOL getIsSpeaking(const LLUUID& id); |
223 | BOOL getIsModeratorMuted(const LLUUID& id); | ||
221 | F32 getCurrentPower(const LLUUID& id); // "power" is related to "amplitude" in a defined way. I'm just not sure what the formula is... | 224 | F32 getCurrentPower(const LLUUID& id); // "power" is related to "amplitude" in a defined way. I'm just not sure what the formula is... |
222 | BOOL getPTTPressed(const LLUUID& id); // This is the inverse of the "locally muted" property. | 225 | BOOL getPTTPressed(const LLUUID& id); // This is the inverse of the "locally muted" property. |
223 | BOOL getOnMuteList(const LLUUID& id); | 226 | BOOL getOnMuteList(const LLUUID& id); |
@@ -242,6 +245,7 @@ class LLVoiceClient: public LLSingleton<LLVoiceClient> | |||
242 | std::string mDisplayName; | 245 | std::string mDisplayName; |
243 | bool mPTT; | 246 | bool mPTT; |
244 | bool mIsSpeaking; | 247 | bool mIsSpeaking; |
248 | bool mIsModeratorMuted; | ||
245 | LLFrameTimer mSpeakingTimeout; | 249 | LLFrameTimer mSpeakingTimeout; |
246 | F32 mLastSpokeTimestamp; | 250 | F32 mLastSpokeTimestamp; |
247 | F32 mPower; | 251 | F32 mPower; |
@@ -316,7 +320,9 @@ class LLVoiceClient: public LLSingleton<LLVoiceClient> | |||
316 | stateLoggingIn, // waiting for account handle | 320 | stateLoggingIn, // waiting for account handle |
317 | stateLoggedIn, // account handle received | 321 | stateLoggedIn, // account handle received |
318 | stateNoChannel, // | 322 | stateNoChannel, // |
319 | stateMicTuningLoggedIn, // mic tuning for a logged in user | 323 | stateMicTuningStart, |
324 | stateMicTuningRunning, | ||
325 | stateMicTuningStop, | ||
320 | stateSessionCreate, // need to send Session.Create command | 326 | stateSessionCreate, // need to send Session.Create command |
321 | stateSessionConnect, // need to send Session.Connect command | 327 | stateSessionConnect, // need to send Session.Connect command |
322 | stateJoiningSession, // waiting for session handle | 328 | stateJoiningSession, // waiting for session handle |
@@ -387,7 +393,7 @@ class LLVoiceClient: public LLSingleton<LLVoiceClient> | |||
387 | bool mTuningMicVolumeDirty; | 393 | bool mTuningMicVolumeDirty; |
388 | int mTuningSpeakerVolume; | 394 | int mTuningSpeakerVolume; |
389 | bool mTuningSpeakerVolumeDirty; | 395 | bool mTuningSpeakerVolumeDirty; |
390 | bool mTuningCaptureRunning; | 396 | state mTuningExitState; // state to return to when we leave tuning mode. |
391 | 397 | ||
392 | std::string mSpatialSessionURI; | 398 | std::string mSpatialSessionURI; |
393 | 399 | ||