From 19eb21b647326e8e733bcd4bf84aa1b52f5d68cc Mon Sep 17 00:00:00 2001 From: Stan Date: Tue, 19 Jan 2021 22:40:56 +0000 Subject: [PATCH] Lower rolloff so that players that play from very high still hear sound. Reported by: @ValihrAnt, @Feldfeld Discussed with: @Samulis Refs: https://code.wildfiregames.com/D3108 / 876f6d5e50 This was SVN commit r24712. --- source/soundmanager/scripting/SoundGroup.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/soundmanager/scripting/SoundGroup.cpp b/source/soundmanager/scripting/SoundGroup.cpp index f3cc627ae7..3a3b14f142 100644 --- a/source/soundmanager/scripting/SoundGroup.cpp +++ b/source/soundmanager/scripting/SoundGroup.cpp @@ -1,4 +1,4 @@ -/* Copyright (C) 2020 Wildfire Games. +/* Copyright (C) 2021 Wildfire Games. * This file is part of 0 A.D. * * 0 A.D. is free software: you can redistribute it and/or modify @@ -39,8 +39,8 @@ extern CGame *g_Game; #if CONFIG2_AUDIO -constexpr ALfloat DEFAULT_ROLLOFF = 0.7f; -constexpr ALfloat MAX_ROLLOFF = 0.9f; +constexpr ALfloat DEFAULT_ROLLOFF = 0.5f; +constexpr ALfloat MAX_ROLLOFF = 0.7f; /** * Low randomness, quite-a-lot-faster-than-std::mt19937 random number generator.