diff options
author | Chris Robinson <[email protected]> | 2012-09-08 21:34:36 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2012-09-08 21:34:36 -0700 |
commit | 1c0302509066d02798a391f8b5f33255846d251e (patch) | |
tree | a35553c9a44043c0a472f7d26fc7722b9f063389 /Alc/ALu.c | |
parent | 7a37a63b8ecfdb005b8650ea59064d216e1a230c (diff) |
Separate the resampling and mixing steps
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r-- | Alc/ALu.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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) { |