mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
VST3 Client: Add support for IParameterFinder interface
This allows hosts such as Cubase and MultitrackStudio to locate parameters based on the current mouse position. Users must override and implement getControlParameterIndex in order for the parameter to be reported to the host. The DSPModulePluginDemo shows one possible strategy for implementing this function.
This commit is contained in:
parent
c4652ef7bc
commit
c5b428dfe9
3 changed files with 78 additions and 3 deletions
|
|
@ -94,7 +94,12 @@ public:
|
|||
|
||||
If the given component represents a particular plugin parameter, then this
|
||||
method should return the index of that parameter. If not, it should return -1.
|
||||
Currently only AAX plugins will call this, and implementing it is optional.
|
||||
If not overridden, this will return -1 for all components.
|
||||
|
||||
This function will be called by the host in AAX and VST3 plug-ins in order to map
|
||||
screen locations to parameters. For example, in Steinberg hosts, this enables the
|
||||
"AI Knob" functionality, which enables hardware to control the parameter currently
|
||||
under the mouse.
|
||||
*/
|
||||
virtual int getControlParameterIndex (Component&);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue