diff options
author | Chris Robinson <[email protected]> | 2012-04-28 01:32:52 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2012-04-28 01:32:52 -0700 |
commit | 0a193c564585bb9080bc4fd905450141844e6eeb (patch) | |
tree | b1c60ff5a3619cee27e121ed89abb051366fe822 /Alc/ALu.c | |
parent | 2450ee1723daddd8f0977f2589b45e126b1ae62a (diff) |
Move the direct and send params into separate different types
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r-- | Alc/ALu.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -320,7 +320,7 @@ ALvoid CalcNonAttnSourceParams(ALsource *ALSource, const ALCcontext *ALContext) Slot = Device->DefaultSlot; if(Slot && Slot->effect.type == AL_EFFECT_NULL) Slot = NULL; - ALSource->Params.Send[i].Slot = Slot; + ALSource->Params.Slot[i] = Slot; ALSource->Params.Send[i].Gain = WetGain[i] * ListenerGain; } @@ -458,7 +458,7 @@ ALvoid CalcSourceParams(ALsource *ALSource, const ALCcontext *ALContext) RoomAirAbsorption[i] = AIRABSORBGAINHF; } - ALSource->Params.Send[i].Slot = Slot; + ALSource->Params.Slot[i] = Slot; } /* Transform source to listener space (convert to head relative) */ |