mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-05 03:50:07 +00:00
Fixed some compiler errors in the AAX wrapper when JUCE_STRING_UTF_TYPE != 8
This commit is contained in:
parent
4b92a111d3
commit
168f7e655b
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue