diff options
Diffstat (limited to 'alc/alu.h')
-rw-r--r-- | alc/alu.h | 13 |
1 files changed, 5 insertions, 8 deletions
@@ -6,13 +6,15 @@ #include <cstddef> #include <type_traits> -#include "AL/al.h" - -#include "alcmain.h" #include "alspan.h" +#include "ambidefs.h" +#include "core/bufferline.h" +#include "core/devformat.h" struct ALCcontext; +struct ALCdevice; struct ALeffectslot; +struct MixParams; #define MAX_PITCH 10 @@ -37,11 +39,6 @@ constexpr float AirAbsorbGainHF{0.99426f}; /* -0.05dB */ constexpr float ReverbDecayGain{0.001f}; /* -60 dB */ -constexpr int MixerFracBits{12}; -constexpr int MixerFracOne{1 << MixerFracBits}; -constexpr int MixerFracMask{MixerFracOne - 1}; - - inline float lerp(float val1, float val2, float mu) noexcept { return val1 + (val2-val1)*mu; } inline float cubic(float val1, float val2, float val3, float val4, float mu) noexcept |