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.1KB

11 years ago
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. /*
  2. ==============================================================================
  3. This file is part of the JUCE library.
  4. Copyright (c) 2013 - Raw Material Software Ltd.
  5. Permission is granted to use this software under the terms of either:
  6. a) the GPL v2 (or any later version)
  7. b) the Affero GPL v3
  8. Details of these licenses can be found at: www.gnu.org/licenses
  9. JUCE is distributed in the hope that it will be useful, but WITHOUT ANY
  10. WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
  11. A PARTICULAR PURPOSE. See the GNU General Public License for more details.
  12. ------------------------------------------------------------------------------
  13. To release a closed-source product which uses JUCE, commercial licenses are
  14. available: visit www.juce.com for more information.
  15. ==============================================================================
  16. */
  17. #if defined (JUCE_AUDIO_BASICS_H_INCLUDED) && ! JUCE_AMALGAMATED_INCLUDE
  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. // Your project must contain an AppConfig.h file with your project-specific settings in it,
  26. // and your header search path must make it accessible to the module's files.
  27. #include "AppConfig.h"
  28. #include "juce_audio_basics.h"
  29. #ifndef JUCE_USE_SSE_INTRINSICS
  30. #define JUCE_USE_SSE_INTRINSICS 1
  31. #endif
  32. #if ! JUCE_INTEL
  33. #undef JUCE_USE_SSE_INTRINSICS
  34. #endif
  35. #if JUCE_USE_SSE_INTRINSICS
  36. #include <emmintrin.h>
  37. #endif
  38. #ifndef JUCE_USE_VDSP_FRAMEWORK
  39. #define JUCE_USE_VDSP_FRAMEWORK 1
  40. #endif
  41. #if (JUCE_MAC || JUCE_IOS) && JUCE_USE_VDSP_FRAMEWORK
  42. #include <Accelerate/Accelerate.h>
  43. #else
  44. #undef JUCE_USE_VDSP_FRAMEWORK
  45. #endif
  46. #if __ARM_NEON__ && ! (JUCE_USE_VDSP_FRAMEWORK || defined (JUCE_USE_ARM_NEON))
  47. #define JUCE_USE_ARM_NEON 1
  48. #include <arm_neon.h>
  49. #endif
  50. namespace juce
  51. {
  52. #include "buffers/juce_AudioDataConverters.cpp"
  53. #include "buffers/juce_AudioSampleBuffer.cpp"
  54. #include "buffers/juce_FloatVectorOperations.cpp"
  55. #include "effects/juce_IIRFilter.cpp"
  56. #include "effects/juce_IIRFilterOld.cpp"
  57. #include "effects/juce_LagrangeInterpolator.cpp"
  58. #include "midi/juce_MidiBuffer.cpp"
  59. #include "midi/juce_MidiFile.cpp"
  60. #include "midi/juce_MidiKeyboardState.cpp"
  61. #include "midi/juce_MidiMessage.cpp"
  62. #include "midi/juce_MidiMessageSequence.cpp"
  63. #include "sources/juce_BufferingAudioSource.cpp"
  64. #include "sources/juce_ChannelRemappingAudioSource.cpp"
  65. #include "sources/juce_IIRFilterAudioSource.cpp"
  66. #include "sources/juce_MixerAudioSource.cpp"
  67. #include "sources/juce_ResamplingAudioSource.cpp"
  68. #include "sources/juce_ReverbAudioSource.cpp"
  69. #include "sources/juce_ToneGeneratorAudioSource.cpp"
  70. #include "synthesisers/juce_Synthesiser.cpp"
  71. }