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.

83 lines
2.7KB

  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. #include "processors/juce_FIRFilter.cpp"
  34. #include "processors/juce_IIRFilter.cpp"
  35. #include "processors/juce_LadderFilter.cpp"
  36. #include "processors/juce_Oversampling.cpp"
  37. #include "maths/juce_SpecialFunctions.cpp"
  38. #include "maths/juce_Matrix.cpp"
  39. #include "maths/juce_LookupTable.cpp"
  40. #include "frequency/juce_FFT.cpp"
  41. #include "frequency/juce_Convolution.cpp"
  42. #include "frequency/juce_Windowing.cpp"
  43. #include "filter_design/juce_FilterDesign.cpp"
  44. #if JUCE_USE_SIMD
  45. #if defined(__i386__) || defined(__amd64__) || defined(_M_X64) || defined(_X86_) || defined(_M_IX86)
  46. #ifdef __AVX2__
  47. #include "native/juce_avx_SIMDNativeOps.cpp"
  48. #else
  49. #include "native/juce_sse_SIMDNativeOps.cpp"
  50. #endif
  51. #elif defined(__arm__) || defined(_M_ARM) || defined (__arm64__) || defined (__aarch64__)
  52. #include "native/juce_neon_SIMDNativeOps.cpp"
  53. #else
  54. #error "SIMD register support not implemented for this platform"
  55. #endif
  56. #endif
  57. #if JUCE_UNIT_TESTS
  58. #include "maths/juce_Matrix_test.cpp"
  59. #include "maths/juce_LogRampedValue_test.cpp"
  60. #if JUCE_USE_SIMD
  61. #include "containers/juce_SIMDRegister_test.cpp"
  62. #endif
  63. #include "containers/juce_AudioBlock_test.cpp"
  64. #include "frequency/juce_FFT_test.cpp"
  65. #include "processors/juce_FIRFilter_test.cpp"
  66. #include "processors/juce_ProcessorChain_test.cpp"
  67. #endif