Remove some unused code

This commit is contained in:
Chris Robinson 2012-09-08 21:53:04 -07:00
parent 1c03025090
commit 6723d27e06

View File

@ -166,8 +166,6 @@ ALvoid CalcNonAttnSourceParams(ALsource *ALSource, const ALCcontext *ALContext)
if(ALSource->Params.Step == 0)
ALSource->Params.Step = 1;
}
if(ALSource->Params.Step == FRACTIONONE)
Resampler = PointResampler;
Channels = ALBuffer->FmtChannels;
break;
@ -662,8 +660,6 @@ ALvoid CalcSourceParams(ALsource *ALSource, const ALCcontext *ALContext)
if(ALSource->Params.Step == 0)
ALSource->Params.Step = 1;
}
if(ALSource->Params.Step == FRACTIONONE)
Resampler = PointResampler;
break;
}