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.

96 lines
3.0KB

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