Declare a variable where it's used

This commit is contained in:
Chris Robinson 2010-11-01 12:44:56 -07:00
parent 887c830d56
commit 65a8d9278d

View File

@ -751,7 +751,6 @@ ALvoid aluMixData(ALCdevice *device, ALvoid *buffer, ALsizei size)
ALeffectslot *ALEffectSlot;
ALCcontext **ctx, **ctx_end;
ALsource **src, **src_end;
ALfloat samp;
int fpuState;
ALuint i, j, c;
ALsizei e;
@ -860,7 +859,7 @@ ALvoid aluMixData(ALCdevice *device, ALvoid *buffer, ALsizei size)
{ \
for(j = 0;j < N;j++) \
{ \
samp = 0.0f; \
ALfloat samp = 0.0f; \
for(c = 0;c < OUTPUTCHANNELS;c++) \
samp += DryBuffer[i][c] * Matrix[c][chans[j]]; \
((T*)buffer)[ChanMap[chans[j]]] = func(samp); \