Provide dialogs to edit pan values numerically, at least for
[ardour.git] / libs / ardour / amp.cc
index b74a57dbce8badfeede821a8973b3ed995ddf121..1579b5dcea7b2f0e64b2283cfc7f1c01f1b4d9e3 100644 (file)
@@ -26,8 +26,6 @@
 #include "ardour/amp.h"
 #include "ardour/audio_buffer.h"
 #include "ardour/buffer_set.h"
-#include "ardour/configuration.h"
-#include "ardour/io.h"
 #include "ardour/midi_buffer.h"
 #include "ardour/session.h"
 
@@ -47,6 +45,8 @@ Amp::Amp (Session& s)
        p.set_range (0, 1.99526231f, 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);
 }