aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include
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 /OpenAL32/Include
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 'OpenAL32/Include')
-rw-r--r--OpenAL32/Include/alu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenAL32/Include/alu.h b/OpenAL32/Include/alu.h
index 7aac62a0..2edc0d0c 100644
--- a/OpenAL32/Include/alu.h
+++ b/OpenAL32/Include/alu.h
@@ -30,7 +30,7 @@
#define RAD2DEG(x) ((ALfloat)(x) * (180.0f/F_PI))
-#define MAX_PITCH (10)
+#define MAX_PITCH (255)
#ifdef __cplusplus