aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/mixer_inc.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/mixer_inc.c')
-rw-r--r--Alc/mixer_inc.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/Alc/mixer_inc.c b/Alc/mixer_inc.c
index 6c10a660..ff12026b 100644
--- a/Alc/mixer_inc.c
+++ b/Alc/mixer_inc.c
@@ -192,8 +192,7 @@ void MixDirect(ALsource *Source, ALCdevice *Device, DirectParams *params,
}
-void MixSend(ALsource *Source, ALuint sendidx, SendParams *params,
- const ALfloat *RESTRICT data, ALuint srcchan,
+void MixSend(SendParams *params, const ALfloat *RESTRICT data, ALuint srcchan,
ALuint OutPos, ALuint SamplesToDo, ALuint BufferSize)
{
ALeffectslot *Slot;
@@ -205,7 +204,7 @@ void MixSend(ALsource *Source, ALuint sendidx, SendParams *params,
ALuint pos;
ALfloat value;
- Slot = Source->Params.Slot[sendidx];
+ Slot = params->Slot;
WetBuffer = Slot->WetBuffer;
WetClickRemoval = Slot->ClickRemoval;
WetPendingClicks = Slot->PendingClicks;