aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
Diffstat (limited to 'Alc')
-rw-r--r--Alc/ALu.c3
-rw-r--r--Alc/mixer.c3
2 files changed, 3 insertions, 3 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index 9da1a658..e8b5027e 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -42,9 +42,6 @@
#include "midi/base.h"
-static_assert((INT_MAX>>FRACTIONBITS)/MAX_PITCH > BUFFERSIZE,
- "MAX_PITCH and/or BUFFERSIZE are too large for FRACTIONBITS!");
-
struct ChanMap {
enum Channel channel;
ALfloat angle;
diff --git a/Alc/mixer.c b/Alc/mixer.c
index e9ef6d79..b2084c62 100644
--- a/Alc/mixer.c
+++ b/Alc/mixer.c
@@ -38,6 +38,9 @@
#include "mixer_defs.h"
+static_assert((INT_MAX>>FRACTIONBITS)/MAX_PITCH > BUFFERSIZE,
+ "MAX_PITCH and/or BUFFERSIZE are too large for FRACTIONBITS!");
+
extern inline void InitiatePositionArrays(ALuint frac, ALuint increment, ALuint *frac_arr, ALuint *pos_arr, ALuint size);
alignas(16) ALfloat CubicLUT[FRACTIONONE][4];