gearmulator

Emulation of classic VA synths of the late 90s/2000s that are based on Motorola 56300 family DSPs
Log | Files | Refs | Submodules | README | LICENSE

commit 3e27a5b19ed42b2e75b749edd3fabe3a3a63b84a
parent 49c40c14640130bce5a00d7b7ba31e43f0ed2984
Author: dsp56300 <dsp56300@users.noreply.github.com>
Date:   Fri, 31 May 2024 00:45:24 +0200

fix some warnings

Diffstat:
Msource/jucePluginLib/parameterbinding.cpp | 2+-
Msource/jucePluginLib/parameterbinding.h | 8++++----
2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/source/jucePluginLib/parameterbinding.cpp b/source/jucePluginLib/parameterbinding.cpp @@ -7,7 +7,7 @@ namespace pluginLib { - ParameterBinding::MouseListener::MouseListener(pluginLib::Parameter* _param, juce::Slider& _slider) + ParameterBinding::MouseListener::MouseListener(Parameter* _param, juce::Slider& _slider) : m_param(_param), m_slider(&_slider) { } diff --git a/source/jucePluginLib/parameterbinding.h b/source/jucePluginLib/parameterbinding.h @@ -39,15 +39,15 @@ namespace pluginLib struct BoundParameter { - pluginLib::Parameter* parameter = nullptr; + Parameter* parameter = nullptr; juce::Component* component = nullptr; uint32_t type = 0xffffffff; uint8_t part = CurrentPart; uint32_t onChangeListenerId = 0; }; - Event<const BoundParameter&> onBind; - Event<const BoundParameter&> onUnbind; + Event<BoundParameter> onBind; + Event<BoundParameter> onUnbind; ParameterBinding(Controller& _controller) : m_controller(_controller) { @@ -88,5 +88,5 @@ namespace pluginLib std::map<const juce::Component*, pluginLib::Parameter*> m_boundComponents; std::map<juce::Slider*, MouseListener*> m_sliderMouseListeners; uint32_t m_nextListenerId = 100000; - }; + }; }