diff --git a/modules/juce_audio_plugin_client/AAX/juce_AAX_Wrapper.cpp b/modules/juce_audio_plugin_client/AAX/juce_AAX_Wrapper.cpp index 7044df5bdc..b4ae647e3e 100644 --- a/modules/juce_audio_plugin_client/AAX/juce_AAX_Wrapper.cpp +++ b/modules/juce_audio_plugin_client/AAX/juce_AAX_Wrapper.cpp @@ -1740,13 +1740,13 @@ namespace AAXClasses if (curveType != AudioProcessor::CurveData::Type::Unknown) { auto& audioProcessor = getPluginInstance(); - auto curve = audioProcessor.getAAXCurve (curveType); + auto curve = audioProcessor.getResponseCurve (curveType); if (curve.curve) { if (oValues != nullptr && iValues != nullptr) { - for (int i = 0; i < iNumValues; ++i) + for (uint32_t i = 0; i < iNumValues; ++i) oValues[i] = curve.curve (iValues[i]); } @@ -1764,7 +1764,7 @@ namespace AAXClasses if (curveType != AudioProcessor::CurveData::Type::Unknown) { auto& audioProcessor = getPluginInstance(); - auto curve = audioProcessor.getAAXCurve (curveType); + auto curve = audioProcessor.getResponseCurve (curveType); if (curve.curve && curve.xMeterID.isNotEmpty() && curve.yMeterID.isNotEmpty()) { @@ -1785,7 +1785,7 @@ namespace AAXClasses if (curveType != AudioProcessor::CurveData::Type::Unknown) { auto& audioProcessor = getPluginInstance(); - auto curve = audioProcessor.getAAXCurve (curveType); + auto curve = audioProcessor.getResponseCurve (curveType); if (curve.curve) { diff --git a/modules/juce_audio_processors/processors/juce_AudioProcessor.h b/modules/juce_audio_processors/processors/juce_AudioProcessor.h index 818ddd5fba..6cd53c19e9 100644 --- a/modules/juce_audio_processors/processors/juce_AudioProcessor.h +++ b/modules/juce_audio_processors/processors/juce_AudioProcessor.h @@ -1339,10 +1339,10 @@ public: bool idForAudioSuite) const; //============================================================================== - /** AAX support sharing curve data with the host so that it can display this curve - on a console or in the mixer panel. For example, ProTools allows you to see the - total EQ curve of a track. It does this by interrogating each plug-in for their - internal EQ curve. */ + /** Some plug-ins support sharing response curve data with the host so that it can + display this curve on a console or in the mixer panel. For example, ProTools + allows you to see the total EQ curve of a track. It does this by interrogating + each plug-in for their internal EQ curve. */ struct CurveData { enum class Type : int @@ -1358,13 +1358,13 @@ public: Range xRange, yRange; // the data range of your curve // For some curve types, your plug-in may already measure the current input and output values. - // An AAX host can use to indicate where on the curve the current signal is (for example + // An host can use to indicate where on the curve the current signal is (for example // by putting a dot on the curve). Simply leave these strings empty if you do not want to // support this. String xMeterID, yMeterID; }; - virtual CurveData getAAXCurve (CurveData::Type /*curveType*/) const { return {}; } + virtual CurveData getResponseCurve (CurveData::Type /*curveType*/) const { return {}; } //============================================================================== /** Not for public use - this is called before deleting an editor component. */