Browse Source

AudioProcessorValueTreeState: Add default values for Parameter constructor arguments

These were mistakenly removed in afe5199848
pull/22/head
reuk 3 years ago
parent
commit
e6b6bc2cfc
No known key found for this signature in database GPG Key ID: FCB43929F012EE5C
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      modules/juce_audio_processors/utilities/juce_AudioProcessorValueTreeState.h

+ 5
- 5
modules/juce_audio_processors/utilities/juce_AudioProcessorValueTreeState.h View File

@@ -488,11 +488,11 @@ public:
float defaultParameterValue,
std::function<String (float)> valueToTextFunction,
std::function<float (const String&)> textToValueFunction,
bool isMetaParameter,
bool isAutomatableParameter,
bool isDiscrete,
AudioProcessorParameter::Category parameterCategory,
bool isBoolean)
bool isMetaParameter = false,
bool isAutomatableParameter = true,
bool isDiscrete = false,
AudioProcessorParameter::Category parameterCategory = AudioProcessorParameter::genericParameter,
bool isBoolean = false)
: Parameter (parameterID,
parameterName,
valueRange,


Loading…
Cancel
Save