|
Jamba C++ API 7.5.0
|
Base class which deals with the "raw"/untyped parameter and keep the normalized value (ParamValue in the range [0.0,1.0]). More...
#include <RTParameter.h>
Inherited by RTVstParameter< T >.
Public Member Functions | |
| tresult | addToOutput (ProcessData &oData) |
| Add the current normalized value as an output parameter changes. | |
| ParamValue const & | getNormalizedValue () const |
| RawVstParamDef const * | getParamDef () const |
| ParamID | getParamID () const |
| ParamValue const & | getPreviousNormalizedValue () const |
| bool | hasChanged () const |
| virtual bool | resetPreviousValue () |
| Called at the end of the frame so that previous value is set to current value for the next frame. | |
| RTRawVstParameter (std::shared_ptr< RawVstParamDef > iParamDef) | |
| virtual bool | updateNormalizedValue (ParamValue iNormalizedValue) |
| Update the parameter with a new normalized value. | |
Protected Attributes | |
| ParamValue | fNormalizedValue |
| std::shared_ptr< RawVstParamDef > | fParamDef |
| ParamValue | fPreviousNormalizedValue |
Base class which deals with the "raw"/untyped parameter and keep the normalized value (ParamValue in the range [0.0,1.0]).
Also keeps the "previous" value which is the value the param had in the previous frame/call to process.
|
inlineexplicit |
| tresult addToOutput | ( | ProcessData & | oData | ) |
Add the current normalized value as an output parameter changes.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
virtual |
Called at the end of the frame so that previous value is set to current value for the next frame.
Reimplemented in RTVstParameter< T >.
|
virtual |
Update the parameter with a new normalized value.
This is typically called after the VST parameter managed by the VST sdk changes (for example, moving a knob or loading a previously saved plugin)
Reimplemented in RTVstParameter< T >.
|
protected |
|
protected |
|
protected |