commit bea35f149bf9e5834795b2c56373c305cf9853da parent 5efc01829cb68ebb49e7dec8d697bc3331727d00 Author: dsp56300 <dsp56300@users.noreply.github.com> Date: Thu, 15 Aug 2024 14:22:25 +0200 use our new parameter value type Diffstat:
M | source/jucePluginLib/parameter.h | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/source/jucePluginLib/parameter.h b/source/jucePluginLib/parameter.h @@ -42,7 +42,7 @@ namespace pluginLib bool isMetaParameter() const override; - int getUnnormalizedValue() const { return juce::roundToInt(m_value.getValue()); } + ParamValue getUnnormalizedValue() const { return juce::roundToInt(m_value.getValue()); } float getValue() const override { return convertTo0to1(m_value.getValue()); } void setValue(float _newValue) override;