From b770839e0396aa6561c968d3c6beeeb6effdd2ad Mon Sep 17 00:00:00 2001 From: reuk Date: Mon, 30 Sep 2024 16:38:07 +0100 Subject: [PATCH] AAX Client: Update embedded SDK to 2.8.0 --- .../AAX/SDK/Interfaces/AAX_Exception.h | 16 ++++++++++++++++ .../AAX/SDK/Interfaces/AAX_ICollection.h | 3 +++ .../AAX/SDK/Interfaces/AAX_Properties.h | 4 +--- .../AAX/SDK/Interfaces/AAX_StringUtilities.h | 1 + .../AAX/SDK/Interfaces/AAX_StringUtilities.hpp | 18 ++++++++++++++++++ .../AAX/SDK/Interfaces/AAX_Version.h | 5 +++-- 6 files changed, 42 insertions(+), 5 deletions(-) diff --git a/modules/juce_audio_plugin_client/AAX/SDK/Interfaces/AAX_Exception.h b/modules/juce_audio_plugin_client/AAX/SDK/Interfaces/AAX_Exception.h index f0f498080668..14efdc00be1c 100644 --- a/modules/juce_audio_plugin_client/AAX/SDK/Interfaces/AAX_Exception.h +++ b/modules/juce_audio_plugin_client/AAX/SDK/Interfaces/AAX_Exception.h @@ -109,6 +109,15 @@ namespace AAX , mWhat(AAX::Exception::Any::CreateWhat(mDesc, mFunction, mLine)) { } + + // copy constructor + Any(const Any& inOther) + : mDesc(inOther.mDesc) + , mFunction(inOther.mFunction) + , mLine(inOther.mLine) + , mWhat(inOther.mWhat) + { + } // assignment operator Any& operator=(const Any& inOther) @@ -175,6 +184,13 @@ namespace AAX , mResult(inWhatResult) { } + + // copy constructor + ResultError(const ResultError& inOther) + : Any(inOther) + , mResult(inOther.mResult) + { + } static std::string FormatResult(AAX_Result inResult) { diff --git a/modules/juce_audio_plugin_client/AAX/SDK/Interfaces/AAX_ICollection.h b/modules/juce_audio_plugin_client/AAX/SDK/Interfaces/AAX_ICollection.h index ea22be469055..e4af3bc1da66 100644 --- a/modules/juce_audio_plugin_client/AAX/SDK/Interfaces/AAX_ICollection.h +++ b/modules/juce_audio_plugin_client/AAX/SDK/Interfaces/AAX_ICollection.h @@ -139,6 +139,9 @@ class AAX_ICollection See \ref AAXATTR_Client_Version for information about the version data format + \warning Do not use this method to infer host feature support. Instead, use + \ref AAX_IDescriptionHost to query the host for specific features. + @param[in] outVersion Host version diff --git a/modules/juce_audio_plugin_client/AAX/SDK/Interfaces/AAX_Properties.h b/modules/juce_audio_plugin_client/AAX/SDK/Interfaces/AAX_Properties.h index d4990fac3c01..e76f41f5fd72 100644 --- a/modules/juce_audio_plugin_client/AAX/SDK/Interfaces/AAX_Properties.h +++ b/modules/juce_audio_plugin_client/AAX/SDK/Interfaces/AAX_Properties.h @@ -651,10 +651,8 @@ enum AAX_EProperty : int32_t * * \li Apply this property at the \ref AAX_IEffectDescriptor level * \li This property is only applicable to offline processing - * - * \compatibility AAX_eProperty_DisableAudiosuiteReverse is not currently implemented */ - AAX_eProperty_DisableAudiosuiteReverse = 118, + AAX_eProperty_DisableAudioSuiteReverse = 118, AAX_eProperty_MaxASProp, // Intentionally given no explicit value //@}end Offline (AudioSuite) properties diff --git a/modules/juce_audio_plugin_client/AAX/SDK/Interfaces/AAX_StringUtilities.h b/modules/juce_audio_plugin_client/AAX/SDK/Interfaces/AAX_StringUtilities.h index f15d16516a9b..7a28a4b61257 100644 --- a/modules/juce_audio_plugin_client/AAX/SDK/Interfaces/AAX_StringUtilities.h +++ b/modules/juce_audio_plugin_client/AAX/SDK/Interfaces/AAX_StringUtilities.h @@ -65,6 +65,7 @@ namespace AAX inline std::string AsStringStemFormat(AAX_EStemFormat inStemFormat, bool inAbbreviate = false); inline std::string AsStringStemChannel(AAX_EStemFormat inStemFormat, uint32_t inChannelIndex, bool inAbbreviate); inline std::string AsStringResult(AAX_Result inResult); + inline std::string AsStringSupportLevel(AAX_ESupportLevel inSupportLevel); } // namespace AAX diff --git a/modules/juce_audio_plugin_client/AAX/SDK/Interfaces/AAX_StringUtilities.hpp b/modules/juce_audio_plugin_client/AAX/SDK/Interfaces/AAX_StringUtilities.hpp index 73057431d258..c2a091d97b7b 100644 --- a/modules/juce_audio_plugin_client/AAX/SDK/Interfaces/AAX_StringUtilities.hpp +++ b/modules/juce_audio_plugin_client/AAX/SDK/Interfaces/AAX_StringUtilities.hpp @@ -844,4 +844,22 @@ std::string AAX::AsStringResult(AAX_Result inResult) return std::string(""); } +std::string AAX::AsStringSupportLevel(AAX_ESupportLevel inSupportLevel) +{ + switch (inSupportLevel) + { + case AAX_eSupportLevel_Uninitialized: + return "AAX_eSupportLevel_Uninitialized"; + case AAX_eSupportLevel_Unsupported: + return "AAX_eSupportLevel_Unsupported"; + case AAX_eSupportLevel_Supported: + return "AAX_eSupportLevel_Supported"; + case AAX_eSupportLevel_Disabled: + return "AAX_eSupportLevel_Disabled"; + case AAX_eSupportLevel_ByProperty: + return "AAX_eSupportLevel_ByProperty"; + } + return std::to_string(inSupportLevel); +} + #endif diff --git a/modules/juce_audio_plugin_client/AAX/SDK/Interfaces/AAX_Version.h b/modules/juce_audio_plugin_client/AAX/SDK/Interfaces/AAX_Version.h index 6d38fc8be56d..08527405245a 100644 --- a/modules/juce_audio_plugin_client/AAX/SDK/Interfaces/AAX_Version.h +++ b/modules/juce_audio_plugin_client/AAX/SDK/Interfaces/AAX_Version.h @@ -53,11 +53,11 @@ * - SDK 10.2.1 > \c 0x0A02 * */ -#define AAX_SDK_VERSION ( 0x0206 ) +#define AAX_SDK_VERSION ( 0x0208 ) /** \brief An atomic revision number for the source included in this SDK */ -#define AAX_SDK_CURRENT_REVISION ( 20207000 ) +#define AAX_SDK_CURRENT_REVISION ( 20208000 ) #define AAX_SDK_1p0p1_REVISION ( 3712639 ) @@ -84,6 +84,7 @@ #define AAX_SDK_2p6p0_REVISION ( 20206000 ) #define AAX_SDK_2p6p1_REVISION ( 20206001 ) #define AAX_SDK_2p7p0_REVISION ( 20207000 ) +#define AAX_SDK_2p8p0_REVISION ( 20208000 ) //CURREVSTAMP < do not remove this comment