Move a couple macros to more appropriate headers

This commit is contained in:
Chris Robinson
2012-09-14 02:52:37 -07:00
parent 9f58edd7a8
commit 4f70766b95
3 changed files with 9 additions and 10 deletions
+2
View File
@@ -7,6 +7,8 @@
extern "C" {
#endif
#define LOWPASSFREQREF (5000)
typedef struct {
ALfloat coeff;
#ifndef _MSC_VER
+4 -10
View File
@@ -382,19 +382,13 @@ 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;
#define DEFAULT_OUTPUT_RATE (44100)
#define MIN_OUTPUT_RATE (8000)
// Find the next power-of-2 for non-power-of-2 numbers.
static __inline ALuint NextPowerOf2(ALuint value)
{
+3
View File
@@ -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)