aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALu.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2010-11-28 13:08:51 -0800
committerChris Robinson <[email protected]>2010-11-28 13:08:51 -0800
commit0e748d98d5db22d259e0803f5318fb61bc7e9c2e (patch)
tree748f04683808db3a8d315e1398d241a9f3589c8e /Alc/ALu.c
parentc41e893361f4c912b8c6c4c703bf7590c957318d (diff)
Rename some stuff for consistency
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r--Alc/ALu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index 3a635826..83571f50 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -120,7 +120,7 @@ ALvoid CalcNonAttnSourceParams(ALsource *ALSource, const ALCcontext *ALContext)
ResamplerPrePadding[ALSource->Resampler] + 1;
maxstep = min(maxstep, INT_MAX>>FRACTIONBITS);
- Pitch = Pitch * ALBuffer->frequency / Frequency;
+ Pitch = Pitch * ALBuffer->Frequency / Frequency;
if(Pitch > (ALfloat)maxstep)
ALSource->Params.Step = maxstep<<FRACTIONBITS;
else
@@ -598,7 +598,7 @@ ALvoid CalcSourceParams(ALsource *ALSource, const ALCcontext *ALContext)
ResamplerPrePadding[ALSource->Resampler] + 1;
maxstep = min(maxstep, INT_MAX>>FRACTIONBITS);
- Pitch = Pitch * ALBuffer->frequency / Frequency;
+ Pitch = Pitch * ALBuffer->Frequency / Frequency;
if(Pitch > (ALfloat)maxstep)
ALSource->Params.Step = maxstep<<FRACTIONBITS;
else