aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALu.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2015-09-26 11:11:04 -0700
committerChris Robinson <[email protected]>2015-09-26 11:18:30 -0700
commit86ff35bf71559295019847ccccb8522f93df1106 (patch)
treee42eb799fea39226a7a4685f372eec9687040f32 /Alc/ALu.c
parent30d88cf5477ddb32b2c2295d7b03c4d74bc67e3e (diff)
Increase the max pitch to 255
Note that this is the multiple above the device sample rate, rather than the source property limit. It could theoretically be increased to 511 by testing against UINT_MAX instead of INT_MAX, since the increment and positions are using unsigned integers. I'm just being paranoid about overflows.
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r--Alc/ALu.c3
1 files changed, 0 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;