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.

94 lines
3.0KB

  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. #if ! JUCE_HAS_CONSTEXPR
  29. #ifndef JUCE_DEMO_RUNNER
  30. #error "The juce_dsp module requires a compiler that supports constexpr"
  31. #endif
  32. #else
  33. #ifndef JUCE_USE_VDSP_FRAMEWORK
  34. #define JUCE_USE_VDSP_FRAMEWORK 1
  35. #endif
  36. #if (JUCE_MAC || JUCE_IOS) && JUCE_USE_VDSP_FRAMEWORK
  37. #include <Accelerate/Accelerate.h>
  38. #else
  39. #undef JUCE_USE_VDSP_FRAMEWORK
  40. #endif
  41. #if JUCE_DSP_USE_INTEL_MKL
  42. #include <mkl_dfti.h>
  43. #endif
  44. #include "processors/juce_FIRFilter.cpp"
  45. #include "processors/juce_IIRFilter.cpp"
  46. #include "processors/juce_LadderFilter.cpp"
  47. #include "processors/juce_Oversampling.cpp"
  48. #include "maths/juce_SpecialFunctions.cpp"
  49. #include "maths/juce_Matrix.cpp"
  50. #include "maths/juce_LookupTable.cpp"
  51. #include "frequency/juce_FFT.cpp"
  52. #include "frequency/juce_Convolution.cpp"
  53. #include "frequency/juce_Windowing.cpp"
  54. #include "filter_design/juce_FilterDesign.cpp"
  55. #if JUCE_USE_SIMD
  56. #if defined(__i386__) || defined(__amd64__) || defined(_M_X64) || defined(_X86_) || defined(_M_IX86)
  57. #ifdef __AVX2__
  58. #include "native/juce_avx_SIMDNativeOps.cpp"
  59. #else
  60. #include "native/juce_sse_SIMDNativeOps.cpp"
  61. #endif
  62. #elif defined(__arm__) || defined(_M_ARM) || defined (__arm64__) || defined (__aarch64__)
  63. #include "native/juce_neon_SIMDNativeOps.cpp"
  64. #else
  65. #error "SIMD register support not implemented for this platform"
  66. #endif
  67. #endif
  68. #if JUCE_UNIT_TESTS
  69. #include "maths/juce_Matrix_test.cpp"
  70. #include "maths/juce_LogRampedValue_test.cpp"
  71. #if JUCE_USE_SIMD
  72. #include "containers/juce_SIMDRegister_test.cpp"
  73. #endif
  74. #include "frequency/juce_FFT_test.cpp"
  75. #include "processors/juce_FIRFilter_test.cpp"
  76. #endif
  77. #endif