aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
Diffstat (limited to 'Alc')
-rw-r--r--Alc/mixer.c2
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)