diff options
author | Chris Robinson <[email protected]> | 2010-11-26 20:17:05 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2010-11-26 20:17:05 -0800 |
commit | 4d4d69978043c2939036ec1c464a351f1840d538 (patch) | |
tree | 07cd3a3ccad13e6f636cb02cb98ffad53f2d0a0d /Alc | |
parent | ca1ec4b221b95b94ef32aed3f8c648c999a5552c (diff) |
Fix step calculations
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/ALu.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -128,8 +128,6 @@ ALvoid CalcNonAttnSourceParams(ALsource *ALSource, const ALCcontext *ALContext) ALSource->Params.Step = Pitch*FRACTIONONE; if(ALSource->Params.Step == 0) ALSource->Params.Step = 1; - else if(ALSource->Params.Step > maxstep) - ALSource->Params.Step = maxstep; } Channels = aluChannelsFromFormat(ALBuffer->format); @@ -608,8 +606,6 @@ ALvoid CalcSourceParams(ALsource *ALSource, const ALCcontext *ALContext) ALSource->Params.Step = Pitch*FRACTIONONE; if(ALSource->Params.Step == 0) ALSource->Params.Step = 1; - else if(ALSource->Params.Step > maxstep) - ALSource->Params.Step = maxstep; } break; } |