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.

89 lines
2.8KB

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