diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2009-06-09 20:21:19 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2009-06-09 20:21:19 +0000 |
commit | e6eb059576eefd9a26c177627ae7dd3ba2feb727 (patch) | |
tree | 536ce6ee456f2306bb0346a51ede0a4aa64a8e63 /gtk2_ardour/send_ui.cc | |
parent | 9bd274bfdee62c9cc0e5752d2a72027d2c732cd0 (diff) |
the big Route structure refactor. !!!! THIS WILL ***NOT LOAD*** PRIOR 3.0 or 2.X SESSIONS !!!! BREAKAGE IS EXPECTED !!!! IF YOU HAVE AND NEED A WORKING 3.0 DO **NOT** UPDATE. !!!! otherwise, update and enjoy the steadily emerging joys of this major reworking of ardour internals
git-svn-id: svn://localhost/ardour2/branches/3.0@5137 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/send_ui.cc')
-rw-r--r-- | gtk2_ardour/send_ui.cc | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/gtk2_ardour/send_ui.cc b/gtk2_ardour/send_ui.cc index 672d5f3d20..19baaa7f93 100644 --- a/gtk2_ardour/send_ui.cc +++ b/gtk2_ardour/send_ui.cc @@ -19,6 +19,7 @@ #include <gtkmm2ext/doi.h> +#include "ardour/amp.h" #include "ardour/io.h" #include "ardour/send.h" @@ -38,8 +39,8 @@ SendUI::SendUI (boost::shared_ptr<Send> s, Session& se) , _gpm (se) , _panners (se) { - _panners.set_io (s->io()); - _gpm.set_io (s->io()); + _panners.set_panner (s->panner()); + _gpm.set_controls (boost::shared_ptr<Route>(), s->meter(), s->amp()->gain_control(), s->amp()); _hbox.pack_start (_gpm, true, true); set_name ("SendUIFrame"); @@ -50,7 +51,7 @@ SendUI::SendUI (boost::shared_ptr<Send> s, Session& se) _vbox.pack_start (_hbox, false, false, false); _vbox.pack_start (_panners, false,false); - io = manage (new IOSelector (se, s->io(), true)); + io = manage (new IOSelector (se, s->output())); pack_start (_vbox, false, false); @@ -60,8 +61,8 @@ SendUI::SendUI (boost::shared_ptr<Send> s, Session& se) _send->set_metering (true); - _send->io()->input_changed.connect (mem_fun (*this, &SendUI::ins_changed)); - _send->io()->output_changed.connect (mem_fun (*this, &SendUI::outs_changed)); + _send->input()->changed.connect (mem_fun (*this, &SendUI::ins_changed)); + _send->output()->changed.connect (mem_fun (*this, &SendUI::outs_changed)); _panners.set_width (Wide); _panners.setup_pan (); |