summaryrefslogtreecommitdiffstats
path: root/Alc/ALu.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2012-09-08 22:32:30 -0700
committerChris Robinson <[email protected]>2012-09-08 22:32:30 -0700
commit2bf1979d4a805e661bdd43258a5020c96cda1f80 (patch)
tree9ee8042eaa1bb7586b622a27c873a17b98d1ef68 /Alc/ALu.c
parent89cab3cd393a8fd9b3fd9e33a19103108258e938 (diff)
Move the target effect slot to the SendParams struct
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r--Alc/ALu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index d7b6025e..22f347f5 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -303,7 +303,7 @@ ALvoid CalcNonAttnSourceParams(ALsource *ALSource, const ALCcontext *ALContext)
Slot = Device->DefaultSlot;
if(Slot && Slot->effect.type == AL_EFFECT_NULL)
Slot = NULL;
- ALSource->Params.Slot[i] = Slot;
+ ALSource->Params.Send[i].Slot = Slot;
ALSource->Params.Send[i].Gain = WetGain[i];
}
@@ -440,7 +440,7 @@ ALvoid CalcSourceParams(ALsource *ALSource, const ALCcontext *ALContext)
RoomAirAbsorption[i] = AIRABSORBGAINHF;
}
- ALSource->Params.Slot[i] = Slot;
+ ALSource->Params.Send[i].Slot = Slot;
}
/* Transform source to listener space (convert to head relative) */