11 typedef struct ALcomplex {
17 inline ALcomplex complex_add(ALcomplex a, ALcomplex b)
21 result.Real = a.Real + b.Real;
22 result.Imag = a.Imag + b.Imag;
28 inline ALcomplex complex_sub(ALcomplex a, ALcomplex b)
32 result.Real = a.Real - b.Real;
33 result.Imag = a.Imag - b.Imag;
39 inline ALcomplex complex_mult(ALcomplex a, ALcomplex b)
43 result.Real = a.Real*b.Real - a.Imag*b.Imag;
44 result.Imag = a.Imag*b.Real + a.Real*b.Imag;
56 void complex_fft(ALcomplex *FFTBuffer, ALsizei FFTSize, ALdouble Sign);
65 void complex_hilbert(ALcomplex *Buffer, ALsizei size);