Remove unnecessary casts
This commit is contained in:
parent
ffd19fe961
commit
b699aca65b
@ -747,9 +747,9 @@ static void Write_##T##_##chans(ALCdevice *device, T *buffer, ALuint SamplesToDo
|
|||||||
ALfloat samp = 0.0f; \
|
ALfloat samp = 0.0f; \
|
||||||
for(c = 0;c < MAXCHANNELS;c++) \
|
for(c = 0;c < MAXCHANNELS;c++) \
|
||||||
samp += DryBuffer[i][c] * Matrix[c][chans[j]]; \
|
samp += DryBuffer[i][c] * Matrix[c][chans[j]]; \
|
||||||
((T*)buffer)[ChanMap[chans[j]]] = func(samp); \
|
buffer[ChanMap[chans[j]]] = func(samp); \
|
||||||
} \
|
} \
|
||||||
buffer = ((T*)buffer) + N; \
|
buffer += N; \
|
||||||
} \
|
} \
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user