Force the point resampler when the source plays at normal speed

This commit is contained in:
Chris Robinson 2010-11-25 22:15:38 -08:00
parent b6fb28de1a
commit 46b9802902

View File

@ -840,7 +840,7 @@ ALvoid MixSource(ALsource *Source, ALCdevice *Device, ALuint SamplesToDo)
}
SrcData += BUFFER_PREPADDING*FrameSize;
switch(Source->Resampler)
switch((increment != (1<<FRACTIONBITS)) ? Source->Resampler : POINT_RESAMPLER)
{
case POINT_RESAMPLER:
if(Bytes == 4)