A listener class that can be attached to an AudioProcessorValueTreeState. More...
#include <juce_AudioProcessorValueTreeState.h>
Public Member Functions | |
virtual | ~Listener ()=default |
virtual void | parameterChanged (const String ¶meterID, float newValue)=0 |
This callback method is called by the AudioProcessorValueTreeState when a parameter changes. | |
A listener class that can be attached to an AudioProcessorValueTreeState.
Use AudioProcessorValueTreeState::addParameterListener() to register a callback.
|
virtualdefault |
|
pure virtual |
This callback method is called by the AudioProcessorValueTreeState when a parameter changes.
Within this call, retrieving the value of the parameter that has changed via the getRawParameterValue() or getParameter() methods is not guaranteed to return the up-to-date value. If you need this you should instead use the newValue parameter.