From 7bb37deb51c6c1d0faa4f2fbe92f8051e64d6401 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Wed, 21 Oct 2020 17:16:27 -0700 Subject: Replace the mixer fraction macros with constexpr variables --- alc/alu.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'alc/alu.h') diff --git a/alc/alu.h b/alc/alu.h index 1d79c4fd..37210ce1 100644 --- a/alc/alu.h +++ b/alc/alu.h @@ -36,9 +36,10 @@ constexpr float AirAbsorbGainHF{0.99426f}; /* -0.05dB */ /** Target gain for the reverb decay feedback reaching the decay time. */ constexpr float ReverbDecayGain{0.001f}; /* -60 dB */ -#define FRACTIONBITS 12 -#define FRACTIONONE (1<