summaryrefslogtreecommitdiff
path: root/indra/newview/llvoicechannel.cpp
diff options
context:
space:
mode:
authorRoxie Linden <roxie@lindenlab.com>2024-03-14 20:04:39 -0700
committerRoxie Linden <roxie@lindenlab.com>2024-03-14 20:04:39 -0700
commitdbbbbc55af5c1b5e81e7a493a9b5fe5718f15c07 (patch)
tree5ebe56c1b899ce0768dd2c7320fcb7e579ec7ec8 /indra/newview/llvoicechannel.cpp
parentef8a3833eb481d2174a13c12fa13044a65d8be5f (diff)
Refactor device selection logic
This refactor fixed a few bugs. There is an annoying 'click' when changing devices, however. This will be addressed in the future.
Diffstat (limited to 'indra/newview/llvoicechannel.cpp')
-rw-r--r--indra/newview/llvoicechannel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llvoicechannel.cpp b/indra/newview/llvoicechannel.cpp
index 5802cd0f1e..f6658bbaab 100644
--- a/indra/newview/llvoicechannel.cpp
+++ b/indra/newview/llvoicechannel.cpp
@@ -418,7 +418,7 @@ void LLVoiceChannelGroup::activate()
{
// we have the channel info, just need to use it now
LLVoiceClient::getInstance()->setNonSpatialChannel(mChannelInfo,
- mCallDirection == OUTGOING_CALL,
+ mIsP2P && (mCallDirection == OUTGOING_CALL),
mIsP2P);
if (mIsP2P)