#include "ardour/send.h"
#include "ardour/rc_configuration.h"
-#include "utils.h"
#include "send_ui.h"
#include "io_selector.h"
-#include "ardour_ui.h"
+#include "timers.h"
#include "gui_thread.h"
-#include "i18n.h"
+#include "pbd/i18n.h"
using namespace std;
using namespace ARDOUR;
assert (_send);
_panners.set_panner (s->panner_shell(), s->panner());
- _gpm.set_controls (boost::shared_ptr<Route>(), s->meter(), s->amp());
+ _gpm.set_controls (boost::shared_ptr<Route>(), s->meter(), s->amp(), s->gain_control());
_hbox.pack_start (_gpm, true, true);
set_name (X_("SendUIFrame"));
_gpm.setup_meters ();
_gpm.set_fader_name (X_("SendUIFader"));
- // screen_update_connection = ARDOUR_UI::instance()->RapidScreenUpdate.connect (
+ // screen_update_connection = Timers::rapid_connect (
// sigc::mem_fun (*this, &SendUI::update));
- fast_screen_update_connection = ARDOUR_UI::instance()->SuperRapidScreenUpdate.connect (
+ fast_screen_update_connection = Timers::super_rapid_connect (
sigc::mem_fun (*this, &SendUI::fast_update));
}