summaryrefslogtreecommitdiffstats
path: root/Alc/ALu.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2012-02-12 08:45:19 -0800
committerChris Robinson <[email protected]>2012-02-12 08:45:19 -0800
commite394d14cdab07cab5fce75a2e175a3439c8c8edd (patch)
tree221a0c63315c7b66ba75f397ca77b47db33ad270 /Alc/ALu.c
parent9f073b6f1b29a00d229e200f507bece1bd59336c (diff)
Use more proper enum names for the resampler
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r--Alc/ALu.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index ba43cb36..21d484c3 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -173,10 +173,10 @@ ALvoid CalcNonAttnSourceParams(ALsource *ALSource, const ALCcontext *ALContext)
}
if(!DirectChannels && Device->Hrtf)
ALSource->Params.DoMix = SelectHrtfMixer((ALSource->Params.Step==FRACTIONONE) ?
- POINT_RESAMPLER : Resampler);
+ PointResampler : Resampler);
else
ALSource->Params.DoMix = SelectMixer((ALSource->Params.Step==FRACTIONONE) ?
- POINT_RESAMPLER : Resampler);
+ PointResampler : Resampler);
/* Calculate gains */
DryGain = clampf(SourceVolume, MinVolume, MaxVolume);
@@ -676,10 +676,10 @@ ALvoid CalcSourceParams(ALsource *ALSource, const ALCcontext *ALContext)
}
if(Device->Hrtf)
ALSource->Params.DoMix = SelectHrtfMixer((ALSource->Params.Step==FRACTIONONE) ?
- POINT_RESAMPLER : Resampler);
+ PointResampler : Resampler);
else
ALSource->Params.DoMix = SelectMixer((ALSource->Params.Step==FRACTIONONE) ?
- POINT_RESAMPLER : Resampler);
+ PointResampler : Resampler);
if(Device->Hrtf)
{