The JUCE cross-platform C++ framework, with DISTRHO/KXStudio specific changes
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.

90 lines
2.8KB

  1. /*
  2. ==============================================================================
  3. This file is part of the JUCE library.
  4. Copyright (c) 2017 - ROLI Ltd.
  5. JUCE is an open source library subject to commercial or open-source
  6. licensing.
  7. By using JUCE, you agree to the terms of both the JUCE 5 End-User License
  8. Agreement and JUCE 5 Privacy Policy (both updated and effective as of the
  9. 27th April 2017).
  10. End User License Agreement: www.juce.com/juce-5-licence
  11. Privacy Policy: www.juce.com/juce-5-privacy-policy
  12. Or: You may also use this code under the terms of the GPL v3 (see
  13. www.gnu.org/licenses).
  14. JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
  15. EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
  16. DISCLAIMED.
  17. ==============================================================================
  18. */
  19. #ifdef JUCE_DSP_H_INCLUDED
  20. /* When you add this cpp file to your project, you mustn't include it in a file where you've
  21. already included any other headers - just put it inside a file on its own, possibly with your config
  22. flags preceding it, but don't include anything else. That also includes avoiding any automatic prefix
  23. header files that the compiler may be using.
  24. */
  25. #error "Incorrect use of JUCE cpp file"
  26. #endif
  27. #include "juce_dsp.h"
  28. #ifndef JUCE_USE_VDSP_FRAMEWORK
  29. #define JUCE_USE_VDSP_FRAMEWORK 1
  30. #endif
  31. #if (JUCE_MAC || JUCE_IOS) && JUCE_USE_VDSP_FRAMEWORK
  32. #include <Accelerate/Accelerate.h>
  33. #else
  34. #undef JUCE_USE_VDSP_FRAMEWORK
  35. #endif
  36. #if JUCE_DSP_USE_INTEL_MKL
  37. #include <mkl_dfti.h>
  38. #endif
  39. namespace juce
  40. {
  41. namespace dsp
  42. {
  43. #include "processors/juce_FIRFilter.cpp"
  44. #include "processors/juce_IIRFilter.cpp"
  45. #include "maths/juce_SpecialFunctions.cpp"
  46. #include "maths/juce_Matrix.cpp"
  47. #include "maths/juce_LookupTable.cpp"
  48. #include "frequency/juce_FFT.cpp"
  49. #include "frequency/juce_Convolution.cpp"
  50. #include "frequency/juce_Windowing.cpp"
  51. #include "filter_design/juce_FilterDesign.cpp"
  52. #if JUCE_USE_SIMD
  53. #if defined(__i386__) || defined(__amd64__) || defined(_M_X64) || defined(_X86_) || defined(_M_IX86)
  54. #ifdef __AVX2__
  55. #include "native/juce_avx_SIMDNativeOps.cpp"
  56. #else
  57. #include "native/juce_sse_SIMDNativeOps.cpp"
  58. #endif
  59. #elif defined(__arm__) || defined(_M_ARM) || defined (__arm64__) || defined (__aarch64__)
  60. #include "native/juce_neon_SIMDNativeOps.cpp"
  61. #else
  62. #error "SIMD register support not implemented for this platform"
  63. #endif
  64. #endif
  65. #if JUCE_UNIT_TESTS
  66. #include "maths/juce_Matrix_test.cpp"
  67. #if JUCE_USE_SIMD
  68. #include "containers/juce_SIMDRegister_test.cpp"
  69. #endif
  70. #include "frequency/juce_FFT_test.cpp"
  71. #include "processors/juce_FIRFilter_test.cpp"
  72. #endif
  73. }
  74. }