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.

85 lines
2.7KB

  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. #include "processors/juce_FIRFilter.cpp"
  40. #include "processors/juce_IIRFilter.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. #if JUCE_USE_SIMD
  65. #include "containers/juce_SIMDRegister_test.cpp"
  66. #endif
  67. #include "frequency/juce_FFT_test.cpp"
  68. #include "processors/juce_FIRFilter_test.cpp"
  69. #endif