summaryrefslogtreecommitdiff
path: root/indra/newview/llvoiceclient.cpp
diff options
context:
space:
mode:
authorBjoseph Wombat <bjoseph@vivox.com>2015-03-22 13:04:09 -0400
committerBjoseph Wombat <bjoseph@vivox.com>2015-03-22 13:04:09 -0400
commitf3120efae8a737336d8e313ca5cb5bb519f9b358 (patch)
tree5bcaeffbac1642c6eb9b52c0e1e317a97f9d9fb4 /indra/newview/llvoiceclient.cpp
parent4941749bb4d3b66f55c9c61d7e18305d92ec6986 (diff)
Mic setting changes some device list is up to date, mic loop test works,
removed obsolete code and fine tuned voice state machine to avoid frequent neccessary code paths.
Diffstat (limited to 'indra/newview/llvoiceclient.cpp')
-rwxr-xr-xindra/newview/llvoiceclient.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/indra/newview/llvoiceclient.cpp b/indra/newview/llvoiceclient.cpp
index 6df1bda135..e09ca1f72a 100755
--- a/indra/newview/llvoiceclient.cpp
+++ b/indra/newview/llvoiceclient.cpp
@@ -266,6 +266,18 @@ bool LLVoiceClient::deviceSettingsAvailable()
}
}
+bool LLVoiceClient::deviceSettingsUpdated()
+{
+ if (mVoiceModule)
+ {
+ return mVoiceModule->deviceSettingsUpdated();
+ }
+ else
+ {
+ return false;
+ }
+}
+
void LLVoiceClient::refreshDeviceLists(bool clearCurrentList)
{
if (mVoiceModule) mVoiceModule->refreshDeviceLists(clearCurrentList);