diff options
author | Chris Robinson <[email protected]> | 2012-09-14 02:52:37 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2012-09-14 02:52:37 -0700 |
commit | 4f70766b954b72d310fbe53db6d2331e4f0aeebe (patch) | |
tree | 1d2ef95d304004502f45ebe1225b51b5b3b5b763 /OpenAL32 | |
parent | 9f58edd7a873aaec50ca27c52372d70b3a0e1738 (diff) |
Move a couple macros to more appropriate headers
Diffstat (limited to 'OpenAL32')
-rw-r--r-- | OpenAL32/Include/alFilter.h | 2 | ||||
-rw-r--r-- | OpenAL32/Include/alMain.h | 12 | ||||
-rw-r--r-- | OpenAL32/Include/alu.h | 3 |
3 files changed, 8 insertions, 9 deletions
diff --git a/OpenAL32/Include/alFilter.h b/OpenAL32/Include/alFilter.h index 02ce5c3b..09cef93c 100644 --- a/OpenAL32/Include/alFilter.h +++ b/OpenAL32/Include/alFilter.h @@ -7,6 +7,8 @@ extern "C" { #endif +#define LOWPASSFREQREF (5000) + typedef struct { ALfloat coeff; #ifndef _MSC_VER diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index 3bfb0046..e68975b1 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -382,17 +382,11 @@ static __inline void UnlockUIntMapWrite(UIntMap *map) extern "C" { #endif - -#define DEFAULT_OUTPUT_RATE (44100) -#define MIN_OUTPUT_RATE (8000) - -#define SPEEDOFSOUNDMETRESPERSEC (343.3f) -#define AIRABSORBGAINHF (0.99426f) /* -0.05dB */ - -#define LOWPASSFREQREF (5000) +struct Hrtf; -struct Hrtf; +#define DEFAULT_OUTPUT_RATE (44100) +#define MIN_OUTPUT_RATE (8000) // Find the next power-of-2 for non-power-of-2 numbers. diff --git a/OpenAL32/Include/alu.h b/OpenAL32/Include/alu.h index 5e46dec1..a4ad48c8 100644 --- a/OpenAL32/Include/alu.h +++ b/OpenAL32/Include/alu.h @@ -91,6 +91,9 @@ typedef ALvoid (*WetMixerFunc)(struct SendParams *params, ALuint BufferSize); +#define SPEEDOFSOUNDMETRESPERSEC (343.3f) +#define AIRABSORBGAINHF (0.99426f) /* -0.05dB */ + #define FRACTIONBITS (14) #define FRACTIONONE (1<<FRACTIONBITS) #define FRACTIONMASK (FRACTIONONE-1) |