Browse Source

Added AAX automation pop-up support to the plug-in demo project

tags/2021-05-28
Tom Poole 6 years ago
parent
commit
90597f9824
1 changed files with 13 additions and 1 deletions
  1. +13
    -1
      examples/Plugins/AudioPluginDemo.h

+ 13
- 1
examples/Plugins/AudioPluginDemo.h View File

@@ -338,7 +338,8 @@ private:
//==============================================================================
/** This is the editor component that our filter will display. */
class JuceDemoPluginAudioProcessorEditor : public AudioProcessorEditor,
private Timer, private Value::Listener
private Timer,
private Value::Listener
{
public:
JuceDemoPluginAudioProcessorEditor (JuceDemoPluginAudioProcessor& owner)
@@ -423,6 +424,17 @@ private:
midiKeyboard.setVisible (! controllerIsAvailable);
}
int getControlParameterIndex (Component& control) override
{
if (&control == &gainSlider)
return 0;
if (&control == &delaySlider)
return 1;
return -1;
}
void updateTrackProperties()
{
auto trackColour = getProcessor().trackProperties.colour;


Loading…
Cancel
Save