aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALu.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2012-09-08 21:34:36 -0700
committerChris Robinson <[email protected]>2012-09-08 21:34:36 -0700
commit1c0302509066d02798a391f8b5f33255846d251e (patch)
treea35553c9a44043c0a472f7d26fc7722b9f063389 /Alc/ALu.c
parent7a37a63b8ecfdb005b8650ea59064d216e1a230c (diff)
Separate the resampling and mixing steps
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r--Alc/ALu.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index d79661d1..4ca3ea02 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -175,10 +175,10 @@ ALvoid CalcNonAttnSourceParams(ALsource *ALSource, const ALCcontext *ALContext)
BufferListItem = BufferListItem->next;
}
if(!DirectChannels && Device->Hrtf)
- ALSource->Params.DryMix = SelectHrtfMixer(Resampler);
+ ALSource->Params.DryMix = SelectHrtfMixer();
else
- ALSource->Params.DryMix = SelectDirectMixer(Resampler);
- ALSource->Params.WetMix = SelectSendMixer(Resampler);
+ ALSource->Params.DryMix = SelectDirectMixer();
+ ALSource->Params.WetMix = SelectSendMixer();
/* Calculate gains */
DryGain = clampf(SourceVolume, MinVolume, MaxVolume);
@@ -670,10 +670,10 @@ ALvoid CalcSourceParams(ALsource *ALSource, const ALCcontext *ALContext)
BufferListItem = BufferListItem->next;
}
if(Device->Hrtf)
- ALSource->Params.DryMix = SelectHrtfMixer(Resampler);
+ ALSource->Params.DryMix = SelectHrtfMixer();
else
- ALSource->Params.DryMix = SelectDirectMixer(Resampler);
- ALSource->Params.WetMix = SelectSendMixer(Resampler);
+ ALSource->Params.DryMix = SelectDirectMixer();
+ ALSource->Params.WetMix = SelectSendMixer();
if(Device->Hrtf)
{