aRts audio server
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

fft.h 911B

123456789101112131415161718192021222324252627282930313233
  1. #ifndef ARTS_FFT_H
  2. #define ARTS_FFT_H
  3. /*
  4. * BC - Status (2002-03-08): arts_fft_float
  5. *
  6. * This fft interface should be obsoleted in the future in favour of one
  7. * exploiting the capabilities of gsl fully. However, it will be kept binary
  8. * compatible to avoid everybody to reimplement/duplicate their own fft.
  9. */
  10. #include "arts_export.h"
  11. #ifdef __cplusplus
  12. extern "C" {
  13. #endif
  14. /**
  15. * performs an fft
  16. */
  17. void arts_fft_float (
  18. unsigned NumSamples, /* must be a power of 2 */
  19. int InverseTransform, /* 0=forward FFT, 1=inverse FFT */
  20. float *RealIn, /* array of input's real samples */
  21. float *ImaginaryIn, /* array of input's imag samples */
  22. float *RealOut, /* array of output's reals */
  23. float *ImaginaryOut ) /* array of output's imaginaries */
  24. ARTS_EXPORT;
  25. #ifdef __cplusplus
  26. }
  27. #endif
  28. #endif /* ARTS_FFT_H */