Audio plugin host https://kx.studio/carla
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.

juce_audio_basics.cpp 3.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  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. The code included in this file is provided under the terms of the ISC license
  8. http://www.isc.org/downloads/software-support-policy/isc-license. Permission
  9. To use, copy, modify, and/or distribute this software for any purpose with or
  10. without fee is hereby granted provided that the above copyright notice and
  11. this permission notice appear in all copies.
  12. JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
  13. EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
  14. DISCLAIMED.
  15. ==============================================================================
  16. */
  17. #ifdef JUCE_AUDIO_BASICS_H_INCLUDED
  18. /* When you add this cpp file to your project, you mustn't include it in a file where you've
  19. already included any other headers - just put it inside a file on its own, possibly with your config
  20. flags preceding it, but don't include anything else. That also includes avoiding any automatic prefix
  21. header files that the compiler may be using.
  22. */
  23. #error "Incorrect use of JUCE cpp file"
  24. #endif
  25. #include "AppConfig.h"
  26. #include "juce_audio_basics.h"
  27. #if JUCE_MINGW
  28. #define JUCE_USE_SSE_INTRINSICS 0
  29. #endif
  30. #if JUCE_MINGW && ! defined (alloca)
  31. #define alloca __builtin_alloca
  32. #endif
  33. #ifndef JUCE_USE_SSE_INTRINSICS
  34. #define JUCE_USE_SSE_INTRINSICS 1
  35. #endif
  36. #if ! JUCE_INTEL
  37. #undef JUCE_USE_SSE_INTRINSICS
  38. #endif
  39. #if JUCE_USE_SSE_INTRINSICS
  40. #include <emmintrin.h>
  41. #endif
  42. #ifndef JUCE_USE_VDSP_FRAMEWORK
  43. #define JUCE_USE_VDSP_FRAMEWORK 1
  44. #endif
  45. #if (JUCE_MAC || JUCE_IOS) && JUCE_USE_VDSP_FRAMEWORK
  46. #include <Accelerate/Accelerate.h>
  47. #else
  48. #undef JUCE_USE_VDSP_FRAMEWORK
  49. #endif
  50. #if __ARM_NEON__ && ! (JUCE_USE_VDSP_FRAMEWORK || defined (JUCE_USE_ARM_NEON))
  51. #define JUCE_USE_ARM_NEON 1
  52. #endif
  53. #if TARGET_IPHONE_SIMULATOR
  54. #ifdef JUCE_USE_ARM_NEON
  55. #undef JUCE_USE_ARM_NEON
  56. #endif
  57. #define JUCE_USE_ARM_NEON 0
  58. #endif
  59. #if JUCE_USE_ARM_NEON
  60. #include <arm_neon.h>
  61. #endif
  62. #include "buffers/juce_AudioDataConverters.cpp"
  63. #include "buffers/juce_FloatVectorOperations.cpp"
  64. #include "buffers/juce_AudioChannelSet.cpp"
  65. #include "effects/juce_IIRFilter.cpp"
  66. #include "effects/juce_IIRFilterOld.cpp"
  67. #include "effects/juce_LagrangeInterpolator.cpp"
  68. #include "effects/juce_CatmullRomInterpolator.cpp"
  69. #include "midi/juce_MidiBuffer.cpp"
  70. #include "midi/juce_MidiFile.cpp"
  71. #include "midi/juce_MidiKeyboardState.cpp"
  72. #include "midi/juce_MidiMessage.cpp"
  73. #include "midi/juce_MidiMessageSequence.cpp"
  74. #include "midi/juce_MidiRPN.cpp"
  75. #include "mpe/juce_MPEValue.cpp"
  76. #include "mpe/juce_MPENote.cpp"
  77. #include "mpe/juce_MPEZone.cpp"
  78. #include "mpe/juce_MPEZoneLayout.cpp"
  79. #include "mpe/juce_MPEInstrument.cpp"
  80. #include "mpe/juce_MPEMessages.cpp"
  81. #include "mpe/juce_MPESynthesiserBase.cpp"
  82. #include "mpe/juce_MPESynthesiserVoice.cpp"
  83. #include "mpe/juce_MPESynthesiser.cpp"
  84. #include "sources/juce_BufferingAudioSource.cpp"
  85. #include "sources/juce_ChannelRemappingAudioSource.cpp"
  86. #include "sources/juce_IIRFilterAudioSource.cpp"
  87. #include "sources/juce_MemoryAudioSource.cpp"
  88. #include "sources/juce_MixerAudioSource.cpp"
  89. #include "sources/juce_ResamplingAudioSource.cpp"
  90. #include "sources/juce_ReverbAudioSource.cpp"
  91. #include "sources/juce_ToneGeneratorAudioSource.cpp"
  92. #include "synthesisers/juce_Synthesiser.cpp"