13
0

Remove erroneous handling of input IO for sends, which don't have them. Fixes #3694.

git-svn-id: svn://localhost/ardour2/branches/3.0@8493 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2011-01-10 19:36:00 +00:00
parent bc84cb7479
commit b67be86cbf
2 changed files with 2 additions and 11 deletions

View File

@ -41,6 +41,8 @@ SendUI::SendUI (Gtk::Window* parent, boost::shared_ptr<Send> s, Session* session
, _gpm (session, 250)
, _panners (session)
{
assert (_send);
_panners.set_panner (s->panner());
_gpm.set_controls (boost::shared_ptr<Route>(), s->meter(), s->amp());
@ -63,7 +65,6 @@ SendUI::SendUI (Gtk::Window* parent, boost::shared_ptr<Send> s, Session* session
_send->set_metering (true);
_send->input()->changed.connect (connections, invalidator (*this), ui_bind (&SendUI::ins_changed, this, _1, _2), gui_context());
_send->output()->changed.connect (connections, invalidator (*this), ui_bind (&SendUI::outs_changed, this, _1, _2), gui_context());
_panners.set_width (Wide);
@ -88,15 +89,6 @@ SendUI::~SendUI ()
fast_screen_update_connection.disconnect();
}
void
SendUI::ins_changed (IOChange change, void* /*ignored*/)
{
ENSURE_GUI_THREAD (*this, &SendUI::ins_changed, change, ignored)
if (change.type & IOChange::ConfigurationChanged) {
_panners.setup_pan ();
}
}
void
SendUI::outs_changed (IOChange change, void* /*ignored*/)
{

View File

@ -54,7 +54,6 @@ class SendUI : public Gtk::HBox
sigc::connection screen_update_connection;
sigc::connection fast_screen_update_connection;
void ins_changed (ARDOUR::IOChange, void*);
void outs_changed (ARDOUR::IOChange, void*);
PBD::ScopedConnectionList connections;
};