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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. /*
  2. ==============================================================================
  3. This file is part of the JUCE library.
  4. Copyright (c) 2022 - Raw Material Software Limited
  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 "juce_audio_basics.h"
  26. #include <juce_core/containers/juce_Optional.h>
  27. #if JUCE_MINGW && ! defined (alloca)
  28. #define alloca __builtin_alloca
  29. #endif
  30. #if JUCE_USE_SSE_INTRINSICS
  31. #include <emmintrin.h>
  32. #endif
  33. #ifndef JUCE_USE_VDSP_FRAMEWORK
  34. #define JUCE_USE_VDSP_FRAMEWORK 1
  35. #endif
  36. #if (JUCE_MAC || JUCE_IOS) && JUCE_USE_VDSP_FRAMEWORK
  37. #include <Accelerate/Accelerate.h>
  38. #else
  39. #undef JUCE_USE_VDSP_FRAMEWORK
  40. #endif
  41. #if JUCE_USE_ARM_NEON
  42. #include <arm_neon.h>
  43. #endif
  44. // #include "buffers/juce_AudioDataConverters.cpp"
  45. #include "buffers/juce_FloatVectorOperations.cpp"
  46. #include "buffers/juce_AudioChannelSet.cpp"
  47. #include "buffers/juce_AudioProcessLoadMeasurer.cpp"
  48. // #include "utilities/juce_IIRFilter.cpp"
  49. // #include "utilities/juce_LagrangeInterpolator.cpp"
  50. // #include "utilities/juce_WindowedSincInterpolator.cpp"
  51. // #include "utilities/juce_Interpolators.cpp"
  52. // #include "utilities/juce_SmoothedValue.cpp"
  53. #include "midi/juce_MidiBuffer.cpp"
  54. // #include "midi/juce_MidiFile.cpp"
  55. // #include "midi/juce_MidiKeyboardState.cpp"
  56. #include "midi/juce_MidiMessage.cpp"
  57. // #include "midi/juce_MidiMessageSequence.cpp"
  58. // #include "midi/juce_MidiRPN.cpp"
  59. // #include "mpe/juce_MPEValue.cpp"
  60. // #include "mpe/juce_MPENote.cpp"
  61. // #include "mpe/juce_MPEZoneLayout.cpp"
  62. // #include "mpe/juce_MPEInstrument.cpp"
  63. // #include "mpe/juce_MPEMessages.cpp"
  64. // #include "mpe/juce_MPESynthesiserBase.cpp"
  65. // #include "mpe/juce_MPESynthesiserVoice.cpp"
  66. // #include "mpe/juce_MPESynthesiser.cpp"
  67. // #include "mpe/juce_MPEUtils.cpp"
  68. // #include "sources/juce_BufferingAudioSource.cpp"
  69. // #include "sources/juce_ChannelRemappingAudioSource.cpp"
  70. // #include "sources/juce_IIRFilterAudioSource.cpp"
  71. // #include "sources/juce_MemoryAudioSource.cpp"
  72. // #include "sources/juce_MixerAudioSource.cpp"
  73. // #include "sources/juce_ResamplingAudioSource.cpp"
  74. // #include "sources/juce_ReverbAudioSource.cpp"
  75. // #include "sources/juce_ToneGeneratorAudioSource.cpp"
  76. // #include "synthesisers/juce_Synthesiser.cpp"
  77. #include "midi/ump/juce_UMP.h"
  78. #include "midi/ump/juce_UMPUtils.cpp"
  79. #include "midi/ump/juce_UMPView.cpp"
  80. #include "midi/ump/juce_UMPSysEx7.cpp"
  81. #include "midi/ump/juce_UMPMidi1ToMidi2DefaultTranslator.cpp"
  82. #if JUCE_UNIT_TESTS
  83. #include "utilities/juce_ADSR_test.cpp"
  84. #include "midi/ump/juce_UMP_test.cpp"
  85. #endif