diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2009-07-15 00:47:34 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2009-07-15 00:47:34 +0000 |
commit | 49445140345fd4e57a833d3803e529c0c07d221c (patch) | |
tree | 346d43002ef9ab1f2486fd1b58a34d4dca6a9a43 /gtk2_ardour/route_ui.cc | |
parent | f01af9836e46fb2c459d16e9956ff6b9be0355d0 (diff) |
processor naming tweaks, processor visibility tweaks and more, trying to finish this audio routing thing...
git-svn-id: svn://localhost/ardour2/branches/3.0@5364 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/route_ui.cc')
-rw-r--r-- | gtk2_ardour/route_ui.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gtk2_ardour/route_ui.cc b/gtk2_ardour/route_ui.cc index c7f835d2df..577dc1ea31 100644 --- a/gtk2_ardour/route_ui.cc +++ b/gtk2_ardour/route_ui.cc @@ -526,7 +526,8 @@ RouteUI::build_sends_menu () sends_menu->set_name ("ArdourContextMenu"); MenuList& items = sends_menu->items(); - items.push_back (MenuElem(_("Assign all tracks"), mem_fun (*this, &RouteUI::create_sends))); + items.push_back (MenuElem(_("Assign all tracks (prefader)"), bind (mem_fun (*this, &RouteUI::create_sends), PreFader))); + items.push_back (MenuElem(_("Assign all tracks (postfader)"), bind (mem_fun (*this, &RouteUI::create_sends), PostFader))); items.push_back (MenuElem(_("Copy track gains to sends"), mem_fun (*this, &RouteUI::set_sends_gain_from_track))); items.push_back (MenuElem(_("Set sends gain to -inf"), mem_fun (*this, &RouteUI::set_sends_gain_to_zero))); items.push_back (MenuElem(_("Set sends gain to 0dB"), mem_fun (*this, &RouteUI::set_sends_gain_to_unity))); @@ -534,9 +535,9 @@ RouteUI::build_sends_menu () } void -RouteUI::create_sends () +RouteUI::create_sends (Placement p) { - _session.globally_add_internal_sends (_route); + _session.globally_add_internal_sends (_route, p); } void |