From f110506be7aae7f293058440bd67da7d376380ad Mon Sep 17 00:00:00 2001 From: jules Date: Fri, 11 May 2012 15:24:56 +0100 Subject: [PATCH] AAX work. --- .../Source/Project/jucer_AudioPluginModule.h | 6 ++++ .../AAX/juce_AAX_Wrapper.cpp | 35 +++++++++++++++++++ .../juce_audio_plugin_client/juce_module_info | 6 ++-- 3 files changed, 45 insertions(+), 2 deletions(-) create mode 100644 modules/juce_audio_plugin_client/AAX/juce_AAX_Wrapper.cpp diff --git a/extras/Introjucer/Source/Project/jucer_AudioPluginModule.h b/extras/Introjucer/Source/Project/jucer_AudioPluginModule.h index b09967a67d..d77a2928ac 100644 --- a/extras/Introjucer/Source/Project/jucer_AudioPluginModule.h +++ b/extras/Introjucer/Source/Project/jucer_AudioPluginModule.h @@ -132,6 +132,10 @@ namespace flags.set ("JucePlugin_RTASManufacturerCode", "JucePlugin_ManufacturerCode"); flags.set ("JucePlugin_RTASProductId", "JucePlugin_PluginCode"); flags.set ("JucePlugin_AAXIdentifier", project.getAAXIdentifier().toString()); + flags.set ("JucePlugin_AAXManufacturerCode", "JucePlugin_ManufacturerCode"); + flags.set ("JucePlugin_AAXProductId", "JucePlugin_PluginCode"); + flags.set ("JucePlugin_AAXPluginId", "JucePlugin_PluginCode"); + flags.set ("JucePlugin_AAXCategory", "AAX_ePlugInCategory_None"); MemoryOutputStream mem; @@ -481,7 +485,9 @@ namespace AAXHelpers { RelativePath aaxFolder (getAAXFolder (exporter).toString(), RelativePath::projectFolder); + exporter.addToExtraSearchPaths (aaxFolder); exporter.addToExtraSearchPaths (aaxFolder.getChildFile ("Interfaces")); + exporter.addToExtraSearchPaths (aaxFolder.getChildFile ("Interfaces").getChildFile ("ACF")); } static inline void prepareExporter (ProjectExporter& exporter, ProjectSaver& projectSaver, const File& moduleFolder) diff --git a/modules/juce_audio_plugin_client/AAX/juce_AAX_Wrapper.cpp b/modules/juce_audio_plugin_client/AAX/juce_AAX_Wrapper.cpp new file mode 100644 index 0000000000..5938726bb7 --- /dev/null +++ b/modules/juce_audio_plugin_client/AAX/juce_AAX_Wrapper.cpp @@ -0,0 +1,35 @@ +/* + ============================================================================== + + This file is part of the JUCE library - "Jules' Utility Class Extensions" + Copyright 2004-11 by Raw Material Software Ltd. + + ------------------------------------------------------------------------------ + + JUCE can be redistributed and/or modified under the terms of the GNU General + Public License (Version 2), as published by the Free Software Foundation. + A copy of the license is included in the JUCE distribution, or can be found + online at www.gnu.org/licenses. + + JUCE is distributed in the hope that it will be useful, but WITHOUT ANY + WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR + A PARTICULAR PURPOSE. See the GNU General Public License for more details. + + ------------------------------------------------------------------------------ + + To release a closed-source product which uses JUCE, commercial licenses are + available: visit www.rawmaterialsoftware.com/juce for more information. + + ============================================================================== +*/ + +// Your project must contain an AppConfig.h file with your project-specific settings in it, +// and your header search path must make it accessible to the module's files. +#include "AppConfig.h" + +#include "../utility/juce_CheckSettingMacros.h" + +#if JucePlugin_Build_AAX + + +#endif diff --git a/modules/juce_audio_plugin_client/juce_module_info b/modules/juce_audio_plugin_client/juce_module_info index 3928c2486e..d812d63d08 100644 --- a/modules/juce_audio_plugin_client/juce_module_info +++ b/modules/juce_audio_plugin_client/juce_module_info @@ -21,9 +21,10 @@ { "file": "RTAS/juce_RTAS_MacUtilities.mm", "target": "xcode" }, { "file": "RTAS/juce_RTAS_WinResources.rsr", "target": "msvc" }, { "file": "RTAS/juce_RTAS_WinUtilities.cpp", "target": "msvc", "warnings": "disabled", "stdcall": "1" }, - { "file": "RTAS/juce_RTAS_Wrapper.cpp", "warnings": "disabled", "warnings": "disabled", "stdcall": "1" }, + { "file": "RTAS/juce_RTAS_Wrapper.cpp", "warnings": "disabled", "stdcall": "1" }, { "file": "AU/juce_AU_Resources.r", "target": "xcode" }, - { "file": "AU/juce_AU_Wrapper.mm", "target": "xcode" } + { "file": "AU/juce_AU_Wrapper.mm", "target": "xcode" }, + { "file": "AAX/juce_AAX_Wrapper.cpp" } ], "browse": [ "AU/*.cpp", @@ -33,6 +34,7 @@ "RTAS/*.mm", "RTAS/*.h", "VST/*", + "AAX/*", "utility/*" ] }