diff options
author | Chris Robinson <[email protected]> | 2010-11-25 22:15:38 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2010-11-25 22:15:38 -0800 |
commit | 46b98029027f0f5b397975ad5f77d99fee480d90 (patch) | |
tree | 6b47f18eae12f813e857b5ed741a747f17f21670 /Alc | |
parent | b6fb28de1a895169512048915afc89636e85a9c6 (diff) |
Force the point resampler when the source plays at normal speed
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/mixer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/mixer.c b/Alc/mixer.c index 848e9c9c..ff5c669d 100644 --- a/Alc/mixer.c +++ b/Alc/mixer.c @@ -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) |