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.

21 lines
490B

  1. /*!
  2. @file AudioUnitSDK/AUMIDIUtility.h
  3. @copyright © 2000-2021 Apple Inc. All rights reserved.
  4. */
  5. #ifndef AudioUnitSDK_AUMIDIUtility_h
  6. #define AudioUnitSDK_AUMIDIUtility_h
  7. // OS
  8. #if defined __has_include && __has_include(<AvailabilityVersions.h>)
  9. #include <AvailabilityVersions.h>
  10. #endif
  11. #if defined(__MAC_12_0) || defined(__IPHONE_15_0)
  12. #define AUSDK_MIDI2_AVAILABLE 1
  13. #endif
  14. #if AUSDK_MIDI2_AVAILABLE
  15. #include <CoreMIDI/MIDIServices.h>
  16. #endif
  17. #endif // AudioUnitSDK_AUMIDIUtility_h