commit b4917b15aafd68001309ef3cfbea73aed35f39d2
parent 79083624a3dc03022cb00f543f2b56bf96d9390b
Author: dsp56300 <dsp56300@users.noreply.github.com>
Date: Wed, 16 Mar 2022 21:39:41 +0100
fix missing file
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/source/jucePlugin/VirusParameter.h b/source/jucePlugin/VirusParameter.h
@@ -32,10 +32,12 @@ namespace Virus
juce::Value &getValueObject() { return m_value; };
const juce::Value &getValueObject() const { return m_value; };
- const Description getDescription() const { return m_desc; };
+ const Description& getDescription() const { return m_desc; };
const juce::NormalisableRange<float> &getNormalisableRange() const override { return m_range; }
+ bool isMetaParameter() const override;
+
float getValue() const override { return convertTo0to1(m_value.getValue()); }
void setValue(float newValue) override;
void setValueFromSynth(int newValue, bool notifyHost = true);