diff options
author | Chris Robinson <[email protected]> | 2011-09-30 23:07:15 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2011-09-30 23:07:15 -0700 |
commit | a7bbf7a741a76f01059ca399ad27f1f4bcf665a1 (patch) | |
tree | f54d0d221dd1d2df08d44e63da978ccc244833ee /Alc/ALu.c | |
parent | bfa782f3296d94c46fea188f78cbf0e3799ee96b (diff) |
Rename LOWPASSFREQCUTOFF to LOWPASSFREQREF
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r-- | Alc/ALu.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -328,7 +328,7 @@ ALvoid CalcNonAttnSourceParams(ALsource *ALSource, const ALCcontext *ALContext) /* Update filter coefficients. Calculations based on the I3DL2 * spec. */ - cw = aluCos(F_PI*2.0f * LOWPASSFREQCUTOFF / Frequency); + cw = aluCos(F_PI*2.0f * LOWPASSFREQREF / Frequency); /* We use two chained one-pole filters, so we need to take the * square root of the squared gain, which is the same as the base @@ -797,7 +797,7 @@ ALvoid CalcSourceParams(ALsource *ALSource, const ALCcontext *ALContext) ALSource->Params.Send[i].WetGain = WetGain[i]; /* Update filter coefficients. */ - cw = aluCos(F_PI*2.0f * LOWPASSFREQCUTOFF / Frequency); + cw = aluCos(F_PI*2.0f * LOWPASSFREQREF / Frequency); ALSource->Params.iirFilter.coeff = lpCoeffCalc(DryGainHF, cw); for(i = 0;i < NumSends;i++) |