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.

107 lines
3.4KB

  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. By using JUCE, you agree to the terms of both the JUCE 7 End-User License
  8. Agreement and JUCE Privacy Policy.
  9. End User License Agreement: www.juce.com/juce-7-licence
  10. Privacy Policy: www.juce.com/juce-privacy-policy
  11. Or: You may also use this code under the terms of the GPL v3 (see
  12. www.gnu.org/licenses).
  13. JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
  14. EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
  15. DISCLAIMED.
  16. ==============================================================================
  17. */
  18. #ifdef JUCE_AUDIO_UTILS_H_INCLUDED
  19. /* When you add this cpp file to your project, you mustn't include it in a file where you've
  20. already included any other headers - just put it inside a file on its own, possibly with your config
  21. flags preceding it, but don't include anything else. That also includes avoiding any automatic prefix
  22. header files that the compiler may be using.
  23. */
  24. #error "Incorrect use of JUCE cpp file"
  25. #endif
  26. #define JUCE_CORE_INCLUDE_NATIVE_HEADERS 1
  27. #define JUCE_CORE_INCLUDE_JNI_HELPERS 1
  28. #define JUCE_CORE_INCLUDE_OBJC_HELPERS 1
  29. #define JUCE_CORE_INCLUDE_COM_SMART_PTR 1
  30. #include "juce_audio_utils.h"
  31. #include <juce_gui_extra/juce_gui_extra.h>
  32. #if JUCE_MAC
  33. #import <DiscRecording/DiscRecording.h>
  34. #import <CoreAudioKit/CABTLEMIDIWindowController.h>
  35. #elif JUCE_IOS
  36. #import <CoreAudioKit/CoreAudioKit.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_KeyboardComponentBase.cpp"
  52. #include "gui/juce_MidiKeyboardComponent.cpp"
  53. #include "gui/juce_MPEKeyboardComponent.cpp"
  54. #include "gui/juce_AudioAppComponent.cpp"
  55. #include "players/juce_SoundPlayer.cpp"
  56. #include "players/juce_AudioProcessorPlayer.cpp"
  57. #include "audio_cd/juce_AudioCDReader.cpp"
  58. #if JUCE_MAC
  59. #include "native/juce_BluetoothMidiDevicePairingDialogue_mac.mm"
  60. #if JUCE_USE_CDREADER
  61. #include "native/juce_AudioCDReader_mac.mm"
  62. #endif
  63. #if JUCE_USE_CDBURNER
  64. #include "native/juce_AudioCDBurner_mac.mm"
  65. #endif
  66. #elif JUCE_IOS
  67. #include "native/juce_BluetoothMidiDevicePairingDialogue_ios.mm"
  68. #elif JUCE_ANDROID
  69. #include "native/juce_BluetoothMidiDevicePairingDialogue_android.cpp"
  70. #elif JUCE_LINUX || JUCE_BSD
  71. #if JUCE_USE_CDREADER
  72. #include "native/juce_AudioCDReader_linux.cpp"
  73. #endif
  74. #include "native/juce_BluetoothMidiDevicePairingDialogue_linux.cpp"
  75. #elif JUCE_WINDOWS
  76. #include "native/juce_BluetoothMidiDevicePairingDialogue_windows.cpp"
  77. #if JUCE_USE_CDREADER
  78. #include "native/juce_AudioCDReader_windows.cpp"
  79. #endif
  80. #if JUCE_USE_CDBURNER
  81. #include "native/juce_AudioCDBurner_windows.cpp"
  82. #endif
  83. #endif