1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00
This commit is contained in:
jules 2007-06-27 12:19:24 +00:00
parent 29a4d1f99c
commit 315a8ea1f5
9 changed files with 50 additions and 27 deletions

View file

@ -350,6 +350,8 @@ public:
/** Called by the host to find out the value of one of the plugin's parameters.
The host will expect the value returned to be between 0 and 1.0.
This could be called quite frequently, so try to make your code efficient.
*/
virtual float JUCE_CALLTYPE getParameter (int parameterIndex) = 0;
@ -367,6 +369,8 @@ public:
setParameterNotifyingHost() method, which will also send a message to
the host telling it about the change. If the message isn't sent, the host
won't be able to automate your parameters properly.
The value passed will be between 0 and 1.0.
*/
virtual void JUCE_CALLTYPE setParameter (int parameterIndex,
float newValue) = 0;
@ -374,7 +378,7 @@ public:
/** Your plugin can call this when it needs to change one of its parameters.
This could happen when the editor or some other internal operation changes
a parameter. This method will call the setParamete() method to change the
a parameter. This method will call the setParameter() method to change the
value, and will then send a message to the host telling it about the change.
*/
void JUCE_CALLTYPE setParameterNotifyingHost (int parameterIndex,