summaryrefslogtreecommitdiff
path: root/VRCSDK3Worlds/Assets/VRCSDK/Dependencies/VRChat/Scripts/AudioManagerSettings.cs
diff options
context:
space:
mode:
authortylermurphy534 <tylermurphy534@gmail.com>2022-11-06 15:12:42 -0500
committertylermurphy534 <tylermurphy534@gmail.com>2022-11-06 15:12:42 -0500
commiteb84bb298d2b95aec7b2ae12cbf25ac64f25379a (patch)
treeefd616a157df06ab661c6d56651853431ac6b08b /VRCSDK3Worlds/Assets/VRCSDK/Dependencies/VRChat/Scripts/AudioManagerSettings.cs
downloadunityprojects-eb84bb298d2b95aec7b2ae12cbf25ac64f25379a.tar.gz
unityprojects-eb84bb298d2b95aec7b2ae12cbf25ac64f25379a.tar.bz2
unityprojects-eb84bb298d2b95aec7b2ae12cbf25ac64f25379a.zip
move to self host
Diffstat (limited to 'VRCSDK3Worlds/Assets/VRCSDK/Dependencies/VRChat/Scripts/AudioManagerSettings.cs')
-rw-r--r--VRCSDK3Worlds/Assets/VRCSDK/Dependencies/VRChat/Scripts/AudioManagerSettings.cs20
1 files changed, 20 insertions, 0 deletions
diff --git a/VRCSDK3Worlds/Assets/VRCSDK/Dependencies/VRChat/Scripts/AudioManagerSettings.cs b/VRCSDK3Worlds/Assets/VRCSDK/Dependencies/VRChat/Scripts/AudioManagerSettings.cs
new file mode 100644
index 00000000..108bd7e2
--- /dev/null
+++ b/VRCSDK3Worlds/Assets/VRCSDK/Dependencies/VRChat/Scripts/AudioManagerSettings.cs
@@ -0,0 +1,20 @@
+using System.Collections;
+using System.Collections.Generic;
+using UnityEngine;
+
+namespace VRC.SDKBase
+{
+ public class AudioManagerSettings
+ {
+ public const float MinVoiceSendDistance = 25.0f; // meters
+ public const float MaxVoiceSendDistancePctOfFarRange = 0.5f;
+ public const float VoiceFadeOutDistancePctOfFarRange = 0.25f;
+ public const float RoomAudioGain = 10f; // dB
+ public const float RoomAudioMaxRange = 80f; // meters
+ public const float VoiceGain = 15f; // dB
+ public const float VoiceMaxRange = 25f; // meters, this is half the oculus inv sq max range
+ public const float LipsyncGain = 1f; // multiplier, not dB!
+ public const float AvatarAudioMaxGain = 10f; // dB
+ public const float AvatarAudioMaxRange = 40f; // meters
+ }
+}