aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/effects/autowah.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2015-09-13 08:46:48 -0700
committerChris Robinson <[email protected]>2015-09-13 08:46:48 -0700
commitb348abf5c31f58e8de62f0b33b7b110f6448d035 (patch)
treecf3f04b47f39dddf805f22bf24d9e26e17a7931f /Alc/effects/autowah.c
parent2763f4096cf0250931fd75e251fe7d7f2b38763a (diff)
Rename F_2PI to F_TAU
Diffstat (limited to 'Alc/effects/autowah.c')
-rw-r--r--Alc/effects/autowah.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/effects/autowah.c b/Alc/effects/autowah.c
index a444ace3..6770f719 100644
--- a/Alc/effects/autowah.c
+++ b/Alc/effects/autowah.c
@@ -112,7 +112,7 @@ static ALvoid ALautowahState_process(ALautowahState *state, ALuint SamplesToDo,
* ALfilterType_LowPass. However, instead of passing a bandwidth,
* we use the resonance property for Q. This also inlines the call.
*/
- w0 = F_2PI * cutoff / state->Frequency;
+ w0 = F_TAU * cutoff / state->Frequency;
/* FIXME: Resonance controls the resonant peak, or Q. How? Not sure
* that Q = resonance*0.1. */