@@ -653,7 +653,7 @@ AudioProcessorParameter::Category AudioProcessor::getParameterCategory (int inde | |||||
if (AudioProcessorParameter* p = managedParameters[index]) | if (AudioProcessorParameter* p = managedParameters[index]) | ||||
return p->getCategory(); | return p->getCategory(); | ||||
return AudioProcessorParameter::generic; | |||||
return AudioProcessorParameter::genericParameter; | |||||
} | } | ||||
AudioProcessorParameter* AudioProcessor::getParamChecked (int index) const noexcept | AudioProcessorParameter* AudioProcessor::getParamChecked (int index) const noexcept | ||||
@@ -1312,7 +1312,7 @@ void AudioProcessorParameter::endChangeGesture() | |||||
bool AudioProcessorParameter::isOrientationInverted() const { return false; } | bool AudioProcessorParameter::isOrientationInverted() const { return false; } | ||||
bool AudioProcessorParameter::isAutomatable() const { return true; } | bool AudioProcessorParameter::isAutomatable() const { return true; } | ||||
bool AudioProcessorParameter::isMetaParameter() const { return false; } | bool AudioProcessorParameter::isMetaParameter() const { return false; } | ||||
AudioProcessorParameter::Category AudioProcessorParameter::getCategory() const { return generic; } | |||||
AudioProcessorParameter::Category AudioProcessorParameter::getCategory() const { return genericParameter; } | |||||
int AudioProcessorParameter::getNumSteps() const { return AudioProcessor::getDefaultNumParameterSteps(); } | int AudioProcessorParameter::getNumSteps() const { return AudioProcessor::getDefaultNumParameterSteps(); } | ||||
String AudioProcessorParameter::getText (float value, int /*maximumStringLength*/) const | String AudioProcessorParameter::getText (float value, int /*maximumStringLength*/) const | ||||
@@ -145,10 +145,10 @@ public: | |||||
enum Category | enum Category | ||||
{ | { | ||||
generic = (0 << 16) | 0, /** If your parameter is not a meter then you should use this category */ | |||||
genericParameter = (0 << 16) | 0, /** If your parameter is not a meter then you should use this category */ | |||||
inputGain = (1 << 16) | 0, /** Currently not used */ | |||||
outputGain = (1 << 16) | 1, | |||||
inputGain = (1 << 16) | 0, /** Currently not used */ | |||||
outputGain = (1 << 16) | 1, | |||||
/** The following categories tell the host that this parameter is a meter level value | /** The following categories tell the host that this parameter is a meter level value | ||||
and therefore read-only. Most hosts will display these type of parameters as | and therefore read-only. Most hosts will display these type of parameters as | ||||
@@ -38,7 +38,7 @@ public: | |||||
NormalisableRange<float> normalisableRange, | NormalisableRange<float> normalisableRange, | ||||
float defaultValue, | float defaultValue, | ||||
const String& label = String(), | const String& label = String(), | ||||
Category category = AudioProcessorParameter::generic); | |||||
Category category = AudioProcessorParameter::genericParameter); | |||||
/** Creates a AudioParameterFloat with an ID, name, and range. | /** Creates a AudioParameterFloat with an ID, name, and range. | ||||
On creation, its value is set to the default value. | On creation, its value is set to the default value. | ||||
@@ -36,7 +36,7 @@ public: | |||||
AudioProcessorParameterWithID (const String& parameterID, | AudioProcessorParameterWithID (const String& parameterID, | ||||
const String& name, | const String& name, | ||||
const String& label = String(), | const String& label = String(), | ||||
Category category = AudioProcessorParameter::generic); | |||||
Category category = AudioProcessorParameter::genericParameter); | |||||
/** Destructor. */ | /** Destructor. */ | ||||
~AudioProcessorParameterWithID(); | ~AudioProcessorParameterWithID(); | ||||