summaryrefslogtreecommitdiff
path: root/indra/newview/llvoiceclient.h
diff options
context:
space:
mode:
authorRoxie Linden <roxie@lindenlab.com>2024-02-22 14:34:03 -0800
committerRoxie Linden <roxie@lindenlab.com>2024-02-22 14:34:03 -0800
commit7287cfbd7ad8f61114d0176c6fc7c3218c758900 (patch)
tree4204306e6a4dad95f6e524a3c881429e0b7e0311 /indra/newview/llvoiceclient.h
parent70068a244b55c00a51cc48f09634a2fe4cedd54b (diff)
For spatial voice, determine voice provider based on server setting.
Diffstat (limited to 'indra/newview/llvoiceclient.h')
-rw-r--r--indra/newview/llvoiceclient.h17
1 files changed, 14 insertions, 3 deletions
diff --git a/indra/newview/llvoiceclient.h b/indra/newview/llvoiceclient.h
index 69004f2000..4ed3cd5066 100644
--- a/indra/newview/llvoiceclient.h
+++ b/indra/newview/llvoiceclient.h
@@ -94,8 +94,10 @@ public:
struct LLVoiceVersionInfo
{
- std::string serverType;
- std::string serverVersion;
+ std::string voiceServerType;
+ int majorVersion;
+ int minorVersion;
+ std::string serverVersion;
std::string mBuildVersion;
};
@@ -122,6 +124,8 @@ public:
virtual void setHidden(bool hidden)=0; // Hides the user from voice.
virtual const LLVoiceVersionInfo& getVersion()=0;
+
+
/////////////////////
/// @name Tuning
@@ -449,9 +453,13 @@ public:
void endUserIMSession(const LLUUID &uuid);
//@}
+ void setVoiceModule(const std::string& voice_server_type);
void userAuthorized(const std::string& user_id,
- const LLUUID &agentID);
+ const LLUUID &agentID);
+
+ void onRegionChanged();
+ void onSimulatorFeaturesReceived(const LLUUID &region_id);
void addObserver(LLVoiceClientStatusObserver* observer);
void removeObserver(LLVoiceClientStatusObserver* observer);
@@ -478,6 +486,9 @@ protected:
LLVoiceModuleInterface* mVoiceModule;
LLPumpIO *m_servicePump;
+ std::string mUserID;
+ LLUUID mAgentID;
+ boost::signals2::connection mSimulatorFeaturesReceivedSlot;
LLCachedControl<bool> mVoiceEffectEnabled;
LLCachedControl<std::string> mVoiceEffectDefault;