diff options
author | Chris Robinson <[email protected]> | 2020-11-27 22:27:45 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2020-11-27 22:27:45 -0800 |
commit | dbfdd35545268bc6f52b3b50365a36777fda1730 (patch) | |
tree | cccaa45c72d71b8d0d50fa637cb536bc1834279b /alc/alu.h | |
parent | 7e798df7b87dc4ca4821e3b16e337d7106c7e1cf (diff) |
Move some declarations to more appropriate headers
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 |