Skip to content
Permalink
Browse files

Fixed some compiler errors in the AAX wrapper when JUCE_STRING_UTF_TY…

…PE != 8
  • Loading branch information...
ed95 committed Sep 10, 2019
1 parent 4b92a11 commit 168f7e655b4e42eb6e3e9dc7a3647216131bc549
Showing with 2 additions and 2 deletions.
  1. +2 −2 modules/juce_audio_plugin_client/AAX/juce_AAX_Wrapper.cpp
@@ -1521,7 +1521,7 @@ namespace AAXClasses
: juceParameters.getParamID (audioProcessor, parameterIndex);

aaxParamIDs.add (paramID);
auto aaxParamID = aaxParamIDs.getReference (parameterIndex++).getCharPointer();
auto* aaxParamID = aaxParamIDs.getReference (parameterIndex++).toRawUTF8();

paramMap.set (AAXClasses::getAAXParamHash (aaxParamID), juceParam);

@@ -1910,7 +1910,7 @@ namespace AAXClasses
inline AAX_CParamID getAAXParamIDFromJuceIndex (int index) const noexcept
{
if (isPositiveAndBelow (index, aaxParamIDs.size()))
return aaxParamIDs.getReference (index).getCharPointer();
return aaxParamIDs.getReference (index).toRawUTF8();

return nullptr;
}

0 comments on commit 168f7e6

Please sign in to comment.
You can’t perform that action at this time.