Reduce max volume to prevent audio clipping

git-svn-id: https://svn.eduke32.com/eduke32@6711 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2018-02-27 15:21:01 +00:00
parent de272d0d00
commit 1c342e0bde
2 changed files with 2 additions and 2 deletions

View file

@ -49,7 +49,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#define MV_MAXPANPOSITION 127 /* formerly 31 */
#define MV_NUMPANPOSITIONS ( MV_MAXPANPOSITION + 1 )
#define MV_MAXTOTALVOLUME 255
#define MV_MAXVOLUME 255 /* formerly 63 */
#define MV_MAXVOLUME 127 /* formerly 63 */
#define MV_NUMVOICES 8
// mirrors FX_MUSIC_PRIORITY from fx_man.h

View file

@ -38,7 +38,7 @@ extern "C" {
// KEEPINSYNC lunatic/con_lang.lua
#define MAXSOUNDS 4096
#define MAXSOUNDINSTANCES 8
#define LOUDESTVOLUME 150
#define LOUDESTVOLUME 111
#define MUSIC_ID -65536
#define FX_VOLUME(x) (ud.config.FXVolume > 0 ? scale(x, 255, ud.config.FXVolume) : 0)