summaryrefslogtreecommitdiff
path: root/indra/newview/llvoiceclient.cpp
diff options
context:
space:
mode:
authorAndrey Lihatskiy <alihatskiy@productengine.com>2022-09-22 19:13:13 +0300
committerAndrey Lihatskiy <alihatskiy@productengine.com>2022-09-22 19:13:13 +0300
commit26c8883bb7d1e61935334701bad5e3e3c7f17de7 (patch)
tree4b40c86fae7792b1989a6594cc664b8bac5af57d /indra/newview/llvoiceclient.cpp
parent62b8498fbb8c3f8b9b886b821051654a1aae345b (diff)
parentef311198f97ca363ceb26b10c7100832274135f7 (diff)
Merge remote-tracking branch 'origin/SL-18119' into DRTVWR-548-maint-N
Diffstat (limited to 'indra/newview/llvoiceclient.cpp')
-rw-r--r--indra/newview/llvoiceclient.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llvoiceclient.cpp b/indra/newview/llvoiceclient.cpp
index d8b8b8749f..2ef2d66f18 100644
--- a/indra/newview/llvoiceclient.cpp
+++ b/indra/newview/llvoiceclient.cpp
@@ -37,6 +37,7 @@
#include "llui.h"
#include "llkeyboard.h"
#include "llagent.h"
+#include "lluiusage.h"
const F32 LLVoiceClient::OVERDRIVEN_POWER_LEVEL = 0.7f;
@@ -603,6 +604,10 @@ void LLVoiceClient::setMuteMic(bool muted)
void LLVoiceClient::setUserPTTState(bool ptt)
{
+ if (ptt)
+ {
+ LLUIUsage::instance().logCommand("Agent.EnableMicrophone");
+ }
mUserPTTState = ptt;
updateMicMuteLogic();
mMicroChangedSignal();