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.

104 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. #include <juce_gui_extra/juce_gui_extra.h>
  33. #if JUCE_MAC
  34. #import <DiscRecording/DiscRecording.h>
  35. #import <CoreAudioKit/CABTLEMIDIWindowController.h>
  36. #elif JUCE_WINDOWS
  37. #if JUCE_USE_CDBURNER
  38. /* You'll need the Platform SDK for these headers - if you don't have it and don't
  39. need to use CD-burning, then you might just want to set the JUCE_USE_CDBURNER flag
  40. to 0, to avoid these includes.
  41. */
  42. #include <imapi.h>
  43. #include <imapierror.h>
  44. #endif
  45. #endif
  46. #include "gui/juce_AudioDeviceSelectorComponent.cpp"
  47. #include "gui/juce_AudioThumbnail.cpp"
  48. #include "gui/juce_AudioThumbnailCache.cpp"
  49. #include "gui/juce_AudioVisualiserComponent.cpp"
  50. #include "gui/juce_MidiKeyboardComponent.cpp"
  51. #include "gui/juce_AudioAppComponent.cpp"
  52. #include "players/juce_SoundPlayer.cpp"
  53. #include "players/juce_AudioProcessorPlayer.cpp"
  54. #include "audio_cd/juce_AudioCDReader.cpp"
  55. #if JUCE_MAC
  56. #include "native/juce_mac_BluetoothMidiDevicePairingDialogue.mm"
  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. #if JUCE_USE_CDREADER
  75. #include "native/juce_win32_AudioCDReader.cpp"
  76. #endif
  77. #if JUCE_USE_CDBURNER
  78. #include "native/juce_win32_AudioCDBurner.cpp"
  79. #endif
  80. #endif