From 245e4011e2d1fee130aa41ad268a5a13e92dce8d Mon Sep 17 00:00:00 2001 From: jules Date: Thu, 20 Aug 2015 10:51:35 +0100 Subject: [PATCH] Added a workaround to our embedded CoreAudio files, to avoid problems for people using very old SDK versions. --- .../AU/CoreAudioUtilityClasses/AUBase.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/juce_audio_plugin_client/AU/CoreAudioUtilityClasses/AUBase.cpp b/modules/juce_audio_plugin_client/AU/CoreAudioUtilityClasses/AUBase.cpp index 53c684f61b..15be9f2c09 100644 --- a/modules/juce_audio_plugin_client/AU/CoreAudioUtilityClasses/AUBase.cpp +++ b/modules/juce_audio_plugin_client/AU/CoreAudioUtilityClasses/AUBase.cpp @@ -55,6 +55,8 @@ #include "CAVectorUnit.h" #include "CAXException.h" +// NB: This line added for JUCE, for backwards-compatibility with pre-10.8 frameworks +#define kAudioUnitProperty_NickName ((AudioUnitPropertyID) 54) #if TARGET_OS_MAC && (TARGET_CPU_X86 || TARGET_CPU_X86_64)