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 2.9KB

11 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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. namespace juce
  47. {
  48. #include "buffers/juce_AudioDataConverters.cpp"
  49. #include "buffers/juce_AudioSampleBuffer.cpp"
  50. #include "buffers/juce_FloatVectorOperations.cpp"
  51. #include "effects/juce_IIRFilter.cpp"
  52. #include "effects/juce_IIRFilterOld.cpp"
  53. #include "effects/juce_LagrangeInterpolator.cpp"
  54. #include "midi/juce_MidiBuffer.cpp"
  55. #include "midi/juce_MidiFile.cpp"
  56. #include "midi/juce_MidiKeyboardState.cpp"
  57. #include "midi/juce_MidiMessage.cpp"
  58. #include "midi/juce_MidiMessageSequence.cpp"
  59. #include "sources/juce_BufferingAudioSource.cpp"
  60. #include "sources/juce_ChannelRemappingAudioSource.cpp"
  61. #include "sources/juce_IIRFilterAudioSource.cpp"
  62. #include "sources/juce_MixerAudioSource.cpp"
  63. #include "sources/juce_ResamplingAudioSource.cpp"
  64. #include "sources/juce_ReverbAudioSource.cpp"
  65. #include "sources/juce_ToneGeneratorAudioSource.cpp"
  66. #include "synthesisers/juce_Synthesiser.cpp"
  67. }