aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/mixer_sse.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/mixer_sse.c')
-rw-r--r--Alc/mixer_sse.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/Alc/mixer_sse.c b/Alc/mixer_sse.c
index f1d51cc4..6ce72cb4 100644
--- a/Alc/mixer_sse.c
+++ b/Alc/mixer_sse.c
@@ -137,12 +137,13 @@ void MixDirect_SSE(ALCdevice *Device, DirectParams *params,
const ALfloat *RESTRICT data, ALuint srcchan,
ALuint OutPos, ALuint SamplesToDo, ALuint BufferSize)
{
- ALfloat (*RESTRICT DryBuffer)[BUFFERSIZE] = Device->DryBuffer;
- ALfloat *RESTRICT ClickRemoval = Device->ClickRemoval;
- ALfloat *RESTRICT PendingClicks = Device->PendingClicks;
+ ALfloat (*RESTRICT DryBuffer)[BUFFERSIZE] = params->OutBuffer;
+ ALfloat *RESTRICT ClickRemoval = params->ClickRemoval;
+ ALfloat *RESTRICT PendingClicks = params->PendingClicks;
ALfloat DrySend;
ALuint pos;
ALuint c;
+ (void)Device;
for(c = 0;c < MaxChannels;c++)
{