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.

106 lines
3.3KB

  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. By using JUCE, you agree to the terms of both the JUCE 5 End-User License
  8. Agreement and JUCE 5 Privacy Policy (both updated and effective as of the
  9. 27th April 2017).
  10. End User License Agreement: www.juce.com/juce-5-licence
  11. Privacy Policy: www.juce.com/juce-5-privacy-policy
  12. Or: You may also use this code under the terms of the GPL v3 (see
  13. www.gnu.org/licenses).
  14. JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
  15. EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
  16. DISCLAIMED.
  17. ==============================================================================
  18. */
  19. #ifdef JUCE_AUDIO_UTILS_H_INCLUDED
  20. /* When you add this cpp file to your project, you mustn't include it in a file where you've
  21. already included any other headers - just put it inside a file on its own, possibly with your config
  22. flags preceding it, but don't include anything else. That also includes avoiding any automatic prefix
  23. header files that the compiler may be using.
  24. */
  25. #error "Incorrect use of JUCE cpp file"
  26. #endif
  27. #define JUCE_CORE_INCLUDE_NATIVE_HEADERS 1
  28. #define JUCE_CORE_INCLUDE_JNI_HELPERS 1
  29. #define JUCE_CORE_INCLUDE_OBJC_HELPERS 1
  30. #define JUCE_CORE_INCLUDE_COM_SMART_PTR 1
  31. #include "juce_audio_utils.h"
  32. #if JUCE_MODULE_AVAILABLE_juce_gui_extra
  33. #include <juce_gui_extra/juce_gui_extra.h>
  34. #endif
  35. #if JUCE_MAC
  36. #import <DiscRecording/DiscRecording.h>
  37. #elif JUCE_WINDOWS
  38. #if JUCE_USE_CDBURNER
  39. /* You'll need the Platform SDK for these headers - if you don't have it and don't
  40. need to use CD-burning, then you might just want to set the JUCE_USE_CDBURNER flag
  41. to 0, to avoid these includes.
  42. */
  43. #include <imapi.h>
  44. #include <imapierror.h>
  45. #endif
  46. #endif
  47. #include "gui/juce_AudioDeviceSelectorComponent.cpp"
  48. #include "gui/juce_AudioThumbnail.cpp"
  49. #include "gui/juce_AudioThumbnailCache.cpp"
  50. #include "gui/juce_AudioVisualiserComponent.cpp"
  51. #include "gui/juce_MidiKeyboardComponent.cpp"
  52. #include "gui/juce_AudioAppComponent.cpp"
  53. #include "players/juce_SoundPlayer.cpp"
  54. #include "players/juce_AudioProcessorPlayer.cpp"
  55. #include "audio_cd/juce_AudioCDReader.cpp"
  56. #if JUCE_MAC
  57. #include "native/juce_mac_BluetoothMidiDevicePairingDialogue.mm"
  58. #if JUCE_USE_CDREADER
  59. #include "native/juce_mac_AudioCDReader.mm"
  60. #endif
  61. #if JUCE_USE_CDBURNER
  62. #include "native/juce_mac_AudioCDBurner.mm"
  63. #endif
  64. #elif JUCE_IOS
  65. #include "native/juce_ios_BluetoothMidiDevicePairingDialogue.mm"
  66. #elif JUCE_ANDROID
  67. #include "native/juce_android_BluetoothMidiDevicePairingDialogue.cpp"
  68. #elif JUCE_LINUX
  69. #if JUCE_USE_CDREADER
  70. #include "native/juce_linux_AudioCDReader.cpp"
  71. #endif
  72. #include "native/juce_linux_BluetoothMidiDevicePairingDialogue.cpp"
  73. #elif JUCE_WINDOWS
  74. #include "native/juce_win_BluetoothMidiDevicePairingDialogue.cpp"
  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