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.

105 lines
3.3KB

  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_WINDOWS
  36. #if JUCE_USE_CDBURNER
  37. /* You'll need the Platform SDK for these headers - if you don't have it and don't
  38. need to use CD-burning, then you might just want to set the JUCE_USE_CDBURNER flag
  39. to 0, to avoid these includes.
  40. */
  41. #include <imapi.h>
  42. #include <imapierror.h>
  43. #endif
  44. #endif
  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_KeyboardComponentBase.cpp"
  50. #include "gui/juce_MidiKeyboardComponent.cpp"
  51. #include "gui/juce_MPEKeyboardComponent.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 || JUCE_BSD
  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