- Evoral::Parameter p (GainAutomation);
- p.set_range (0, max_gain_coefficient, 1, false);
- boost::shared_ptr<AutomationList> gl (new AutomationList (p));
- _gain_control = boost::shared_ptr<GainControl> (new GainControl (X_("gaincontrol"), s, this, p, gl));
- _gain_control->set_flags (Controllable::GainLike);
-
- add_control(_gain_control);
-}
-
-std::string
-Amp::display_name() const
-{
- return _("Fader");