From dbbbbc55af5c1b5e81e7a493a9b5fe5718f15c07 Mon Sep 17 00:00:00 2001 From: Roxie Linden Date: Thu, 14 Mar 2024 20:04:39 -0700 Subject: 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. --- indra/newview/llvoicechannel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra/newview/llvoicechannel.cpp') 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) -- cgit v1.2.3