aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32
diff options
context:
space:
mode:
Diffstat (limited to 'OpenAL32')
-rw-r--r--OpenAL32/Include/alu.h2
-rw-r--r--OpenAL32/alFilter.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/OpenAL32/Include/alu.h b/OpenAL32/Include/alu.h
index 50cde1bf..e167979b 100644
--- a/OpenAL32/Include/alu.h
+++ b/OpenAL32/Include/alu.h
@@ -20,7 +20,7 @@
#define F_PI (3.14159265358979323846f)
#define F_PI_2 (1.57079632679489661923f)
-#define F_2PI (6.28318530717958647692f)
+#define F_TAU (6.28318530717958647692f)
#ifndef FLT_EPSILON
#define FLT_EPSILON (1.19209290e-07f)
diff --git a/OpenAL32/alFilter.c b/OpenAL32/alFilter.c
index 72eff9bb..ccf256e1 100644
--- a/OpenAL32/alFilter.c
+++ b/OpenAL32/alFilter.c
@@ -344,7 +344,7 @@ void ALfilterState_setParams(ALfilterState *filter, ALfilterType type, ALfloat g
// Limit gain to -100dB
gain = maxf(gain, 0.00001f);
- w0 = F_2PI * freq_mult;
+ w0 = F_TAU * freq_mult;
/* Calculate filter coefficients depending on filter type */
switch(type)