diff options
author | Chris Robinson <[email protected]> | 2010-11-28 13:08:51 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2010-11-28 13:08:51 -0800 |
commit | 0e748d98d5db22d259e0803f5318fb61bc7e9c2e (patch) | |
tree | 748f04683808db3a8d315e1398d241a9f3589c8e /Alc/ALu.c | |
parent | c41e893361f4c912b8c6c4c703bf7590c957318d (diff) |
Rename some stuff for consistency
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r-- | Alc/ALu.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |