The JUCE cross-platform C++ framework, with DISTRHO/KXStudio specific changes
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.

114 lines
3.3KB

  1. /*
  2. ==============================================================================
  3. This file is part of the JUCE library.
  4. Copyright (c) 2015 - ROLI 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. #ifdef JUCE_AUDIO_UTILS_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. #define JUCE_CORE_INCLUDE_JNI_HELPERS 1
  26. #define JUCE_CORE_INCLUDE_NATIVE_HEADERS 1
  27. #include "juce_audio_utils.h"
  28. #if JUCE_MODULE_AVAILABLE_juce_gui_extra
  29. #include <juce_gui_extra/juce_gui_extra.h>
  30. #endif
  31. #if JUCE_MAC
  32. #import <DiscRecording/DiscRecording.h>
  33. #elif JUCE_WINDOWS
  34. #if JUCE_USE_CDBURNER
  35. /* You'll need the Platform SDK for these headers - if you don't have it and don't
  36. need to use CD-burning, then you might just want to set the JUCE_USE_CDBURNER flag
  37. to 0, to avoid these includes.
  38. */
  39. #include <imapi.h>
  40. #include <imapierror.h>
  41. #endif
  42. #endif
  43. namespace juce
  44. {
  45. #include "gui/juce_AudioDeviceSelectorComponent.cpp"
  46. #include "gui/juce_AudioThumbnail.cpp"
  47. #include "gui/juce_AudioThumbnailCache.cpp"
  48. #include "gui/juce_AudioVisualiserComponent.cpp"
  49. #include "gui/juce_MidiKeyboardComponent.cpp"
  50. #include "gui/juce_AudioAppComponent.cpp"
  51. #include "players/juce_SoundPlayer.cpp"
  52. #include "players/juce_AudioProcessorPlayer.cpp"
  53. #include "audio_cd/juce_AudioCDReader.cpp"
  54. #if JUCE_MAC
  55. #include "native/juce_mac_BluetoothMidiDevicePairingDialogue.mm"
  56. #include "../juce_core/native/juce_osx_ObjCHelpers.h"
  57. #if JUCE_USE_CDREADER
  58. #include "native/juce_mac_AudioCDReader.mm"
  59. #endif
  60. #if JUCE_USE_CDBURNER
  61. #include "native/juce_mac_AudioCDBurner.mm"
  62. #endif
  63. #elif JUCE_IOS
  64. #include "native/juce_ios_BluetoothMidiDevicePairingDialogue.mm"
  65. #elif JUCE_ANDROID
  66. #include "native/juce_android_BluetoothMidiDevicePairingDialogue.cpp"
  67. #elif JUCE_LINUX
  68. #if JUCE_USE_CDREADER
  69. #include "native/juce_linux_AudioCDReader.cpp"
  70. #endif
  71. #include "native/juce_linux_BluetoothMidiDevicePairingDialogue.cpp"
  72. #elif JUCE_WINDOWS
  73. #include "native/juce_win_BluetoothMidiDevicePairingDialogue.cpp"
  74. #include "../juce_core/native/juce_win32_ComSmartPtr.h"
  75. #if JUCE_USE_CDREADER
  76. #include "native/juce_win32_AudioCDReader.cpp"
  77. #endif
  78. #if JUCE_USE_CDBURNER
  79. #include "native/juce_win32_AudioCDBurner.cpp"
  80. #endif
  81. #endif
  82. }