FIRE-13309: Add option to hear voice equally from all speakers; by Tigh MacFanatic for Singularity Viewer, with permission to use under LGPL
parent
6c9305620c
commit
3be2ce4ec3
|
|
@ -2406,6 +2406,10 @@ void LLVivoxVoiceClient::sendPositionalUpdate(void)
|
|||
LLVector3 earVelocity;
|
||||
LLMatrix3 earRot;
|
||||
|
||||
// <FS:Ansariel> Equal voice volume; by Tigh MacFanatic
|
||||
if (mEarLocation != earLocSpeaker)
|
||||
{
|
||||
// </FS:Ansariel>
|
||||
switch(mEarLocation)
|
||||
{
|
||||
case earLocCamera:
|
||||
|
|
@ -2437,7 +2441,10 @@ void LLVivoxVoiceClient::sendPositionalUpdate(void)
|
|||
// LL_DEBUGS("Voice") << "Sending listener position " << earPosition << LL_ENDL;
|
||||
|
||||
oldSDKTransform(l, u, a, pos, vel);
|
||||
|
||||
// <FS:Ansariel> Equal voice volume; by Tigh MacFanatic
|
||||
}
|
||||
// </FS:Ansariel>
|
||||
|
||||
stream
|
||||
<< "<Position>"
|
||||
<< "<X>" << pos.mdV[VX] << "</X>"
|
||||
|
|
|
|||
|
|
@ -783,6 +783,9 @@ private:
|
|||
{
|
||||
earLocCamera = 0, // ear at camera
|
||||
earLocAvatar, // ear at avatar
|
||||
// <FS:Ansariel> Equal voice volume; by Tigh MacFanatic
|
||||
earLocSpeaker, // ear at speaker, speakers not affected by position
|
||||
// </FS:Ansariel>
|
||||
earLocMixed // ear at avatar location/camera direction
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -68,6 +68,7 @@
|
|||
<radio_group name="ear_location">
|
||||
<radio_item label="Kameraposition" name="0"/>
|
||||
<radio_item label="Avatarposition" name="1"/>
|
||||
<radio_item label="Sprecherposition" name="2"/>
|
||||
</radio_group>
|
||||
<check_box label="Avatarlippen beim Sprechen bewegen" name="enable_lip_sync"/>
|
||||
<check_box label="Zeige Voice-Indikator über Avataren" name="FSShowVoiceVisualizer" tool_tip="Wenn diese Option aktiviert ist, wird der Voice-Indicator (weißer Punkt) über Avataren angezeigt."/>
|
||||
|
|
|
|||
|
|
@ -698,11 +698,12 @@
|
|||
follows="left|top"
|
||||
layout="topleft"
|
||||
left="25"
|
||||
top_pad="10"
|
||||
top_pad="5"
|
||||
name="Listen from"
|
||||
width="112">
|
||||
Listen from:
|
||||
</text>
|
||||
<!--
|
||||
<icon
|
||||
follows="left|top"
|
||||
height="18"
|
||||
|
|
@ -725,14 +726,16 @@
|
|||
visible="true"
|
||||
width="18"
|
||||
top_delta="0" />
|
||||
-->
|
||||
<radio_group
|
||||
enabled_control="EnableVoiceChat"
|
||||
control_name="VoiceEarLocation"
|
||||
follows="left|top"
|
||||
layout="topleft"
|
||||
left_delta="-168"
|
||||
width="221"
|
||||
left_pad="0"
|
||||
width="400"
|
||||
height="20"
|
||||
top_pad="-17"
|
||||
name="ear_location">
|
||||
<radio_item
|
||||
height="19"
|
||||
|
|
@ -740,7 +743,7 @@
|
|||
follows="left|top"
|
||||
layout="topleft"
|
||||
name="0"
|
||||
width="200"/>
|
||||
width="150"/>
|
||||
<radio_item
|
||||
height="19"
|
||||
follows="left|top"
|
||||
|
|
@ -749,7 +752,16 @@
|
|||
left_pad="-16"
|
||||
name="1"
|
||||
top_delta ="0"
|
||||
width="200" />
|
||||
width="150" />
|
||||
<radio_item
|
||||
height="19"
|
||||
follows="left|top"
|
||||
label="Speaker position"
|
||||
layout="topleft"
|
||||
left_pad="-16"
|
||||
name="2"
|
||||
top_delta ="0"
|
||||
width="150" />
|
||||
</radio_group>
|
||||
|
||||
<check_box
|
||||
|
|
|
|||
Loading…
Reference in New Issue