Add correct cast

This commit is contained in:
Raulshc
2018-05-20 18:44:24 +02:00
committed by GitHub
parent da6f32a1c0
commit 97c165b951
+1 -1
View File
@@ -64,7 +64,7 @@ void complex_fft(ALcomplex *FFTBuffer, ALsizei FFTSize, ALdouble Sign)
void hilbert(ALsizei size, ALcomplex *InOutBuffer )
{
ALsizei k;
const ALdouble inverse_size = 1.0/(ALfloat)size;
const ALdouble inverse_size = 1.0/(ALdouble)size;
for ( k = 0; k < size;k++ )
InOutBuffer[k].Imag = 0.0;