summaryrefslogtreecommitdiffstats
path: root/Alc/mixer_sse.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2012-09-11 09:38:06 -0700
committerChris Robinson <[email protected]>2012-09-11 09:40:08 -0700
commit01183ad93bbc65c090062c17fa7f4f3e0be05e0a (patch)
tree9b7195fd4d6b98e2b8a43f65eabc9aed07ebced1 /Alc/mixer_sse.c
parent3f97af4c8c79c8be69dac9e091d65d6e27418737 (diff)
Minor cleanups for variable declarations
Diffstat (limited to 'Alc/mixer_sse.c')
-rw-r--r--Alc/mixer_sse.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/Alc/mixer_sse.c b/Alc/mixer_sse.c
index 88d2c1ee..792fead6 100644
--- a/Alc/mixer_sse.c
+++ b/Alc/mixer_sse.c
@@ -132,17 +132,14 @@ void MixDirect_SSE(ALsource *Source, ALCdevice *Device, DirectParams *params,
const ALfloat *RESTRICT data, ALuint srcchan,
ALuint OutPos, ALuint SamplesToDo, ALuint BufferSize)
{
- ALfloat (*RESTRICT DryBuffer)[BUFFERSIZE];
- ALfloat *RESTRICT ClickRemoval, *RESTRICT PendingClicks;
+ ALfloat (*RESTRICT DryBuffer)[BUFFERSIZE] = Device->DryBuffer;
+ ALfloat *RESTRICT ClickRemoval = Device->ClickRemoval;
+ ALfloat *RESTRICT PendingClicks = Device->PendingClicks;
ALfloat DrySend[MaxChannels];
ALuint pos;
ALuint c;
(void)Source;
- DryBuffer = Device->DryBuffer;
- ClickRemoval = Device->ClickRemoval;
- PendingClicks = Device->PendingClicks;
-
for(c = 0;c < MaxChannels;c++)
DrySend[c] = params->Gains[srcchan][c];