1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-03 03:30:06 +00:00

AAX: Fixed a bug setting the number of parameter steps

This commit is contained in:
Tom Poole 2019-03-20 11:46:36 +00:00
parent 1774052b61
commit dc16992968

View file

@ -1475,7 +1475,7 @@ namespace AAXClasses
// parameter steps.
static int32_t getSafeNumberOfParameterSteps (const AudioProcessorParameter& param)
{
return jmax (param.getNumSteps(), 2048);
return jmin (param.getNumSteps(), 2048);
}
void addAudioProcessorParameters()