From cafa4c754a53d97ac9e569e3ef1bab3f2bda9508 Mon Sep 17 00:00:00 2001 From: werzet <10843461+Werzet@users.noreply.github.com> Date: Mon, 2 Dec 2024 21:06:51 +1000 Subject: [PATCH] adjust tts volume --- Content.Client/SS220/TTS/TTSSystem.cs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Content.Client/SS220/TTS/TTSSystem.cs b/Content.Client/SS220/TTS/TTSSystem.cs index 5a52fb8e00f90e..f6617378875fff 100644 --- a/Content.Client/SS220/TTS/TTSSystem.cs +++ b/Content.Client/SS220/TTS/TTSSystem.cs @@ -38,11 +38,6 @@ public sealed partial class TTSSystem : EntitySystem /// private const float WhisperFade = 4f; - /// - /// The volume at which the TTS sound will not be heard. - /// - private const float MinimalVolume = -10f; - private float _volume = 0.0f; private float _radioVolume = 0.0f; private int _fileIdx = 0; @@ -284,7 +279,7 @@ private float AdjustVolume(bool isRadio, bool isAnounce, bool isWhisper) { var volume = isRadio ? _radioVolume : isAnounce ? VolumeAnnounce : _volume; - volume = MinimalVolume + SharedAudioSystem.GainToVolume(volume); + volume = SharedAudioSystem.GainToVolume(volume); if (isWhisper) {