mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Unity: Use setValueNotifyingHost() when parameters are changed in the Unity editor to ensure that parameter listeners are called
This commit is contained in:
parent
06f8accd9c
commit
4363e8cd0d
1 changed files with 1 additions and 1 deletions
|
|
@ -409,7 +409,7 @@ public:
|
|||
definition.parameterDefintions = parametersPtr.get();
|
||||
}
|
||||
|
||||
void setParameter (int index, float value) { juceParameters.getParamForIndex (index)->setValue (value); }
|
||||
void setParameter (int index, float value) { juceParameters.getParamForIndex (index)->setValueNotifyingHost (value); }
|
||||
float getParameter (int index) const noexcept { return juceParameters.getParamForIndex (index)->getValue(); }
|
||||
|
||||
String getParameterString (int index) const noexcept
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue