Browse Source

AAX: registering all parameters, not just automatable ones.

tags/2021-05-28
jules 12 years ago
parent
commit
841c40d7ba
1 changed files with 11 additions and 14 deletions
  1. +11
    -14
      modules/juce_audio_plugin_client/AAX/juce_AAX_Wrapper.cpp

+ 11
- 14
modules/juce_audio_plugin_client/AAX/juce_AAX_Wrapper.cpp View File

@@ -728,20 +728,17 @@ struct AAXClasses
for (int parameterIndex = 0; parameterIndex < numParameters; ++parameterIndex)
{
if (audioProcessor.isParameterAutomatable (parameterIndex))
{
AAX_IParameter* parameter
= new AAX_CParameter<float> (IndexAsParamID (parameterIndex),
audioProcessor.getParameterName (parameterIndex).toRawUTF8(),
audioProcessor.getParameter (parameterIndex),
AAX_CLinearTaperDelegate<float, 0>(),
AAX_CNumberDisplayDelegate<float, 3>(),
true);
parameter->SetNumberOfSteps (0x7fffffff);
parameter->SetType (AAX_eParameterType_Continuous);
mParameterManager.AddParameter (parameter);
}
AAX_IParameter* parameter
= new AAX_CParameter<float> (IndexAsParamID (parameterIndex),
audioProcessor.getParameterName (parameterIndex).toRawUTF8(),
audioProcessor.getParameter (parameterIndex),
AAX_CLinearTaperDelegate<float, 0>(),
AAX_CNumberDisplayDelegate<float, 3>(),
audioProcessor.isParameterAutomatable (parameterIndex));
parameter->SetNumberOfSteps (0x7fffffff);
parameter->SetType (AAX_eParameterType_Continuous);
mParameterManager.AddParameter (parameter);
}
}


Loading…
Cancel
Save