From 44fc8a4db21252ee2d0a53a9e50d884d8ae76e36 Mon Sep 17 00:00:00 2001 From: ModMaker101 <119018978+ModMaker101@users.noreply.github.com> Date: Thu, 12 Mar 2026 02:43:12 -0400 Subject: Fix quiet in-game audio after engine update #897 (#1171) --- Minecraft.Client/Common/Audio/SoundEngine.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Minecraft.Client/Common/Audio/SoundEngine.h') diff --git a/Minecraft.Client/Common/Audio/SoundEngine.h b/Minecraft.Client/Common/Audio/SoundEngine.h index 2134c491..38d70d41 100644 --- a/Minecraft.Client/Common/Audio/SoundEngine.h +++ b/Minecraft.Client/Common/Audio/SoundEngine.h @@ -6,6 +6,12 @@ using namespace std; #include "miniaudio.h" +constexpr float SFX_3D_MIN_DISTANCE = 1.0f; +constexpr float SFX_3D_MAX_DISTANCE = 16.0f; +constexpr float SFX_3D_ROLLOFF = 0.5f; +constexpr float SFX_VOLUME_MULTIPLIER = 1.5f; +constexpr float SFX_MAX_GAIN = 1.5f; + enum eMUSICFILES { eStream_Overworld_Calm1 = 0, -- cgit v1.2.3