diff options
author | Chris Robinson <[email protected]> | 2011-10-11 22:29:06 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2011-10-11 22:29:06 -0700 |
commit | 92a650c827c1bcecf400717c06dc3a4370eecbd3 (patch) | |
tree | 3634f9c81a4ba49442c6a8805a443e87a25b9fb5 | |
parent | 3bbde05e0e220427b0eae5d6b13a994995ae4646 (diff) |
Use the local variable instead of re-reading the source property
-rw-r--r-- | Alc/ALu.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -178,7 +178,7 @@ ALvoid CalcNonAttnSourceParams(ALsource *ALSource, const ALCcontext *ALContext) } BufferListItem = BufferListItem->next; } - if(ALSource->VirtualChannels && Device->Hrtf) + if(VirtualChannels && Device->Hrtf) ALSource->Params.DoMix = SelectHrtfMixer((ALSource->Params.Step==FRACTIONONE) ? POINT_RESAMPLER : Resampler); else |