diff options
author | Carl Hetherington <carl@carlh.net> | 2012-01-30 18:09:54 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2012-01-30 18:09:54 +0000 |
commit | 35a4144e457b34a8a3cbeaa1c39c9666b21750bc (patch) | |
tree | cc9e75b178176956f90d462f35c597c8e490861d /libs/ardour/ardour/route.h | |
parent | 44dcf6945b2d3535bca96a32cf8d6e1e2ef4a9ae (diff) |
Add aux sends at the position that the menu was opened, rather than always pre-fader (#4660).
git-svn-id: svn://localhost/ardour2/branches/3.0@11387 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/route.h')
-rw-r--r-- | libs/ardour/ardour/route.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/libs/ardour/ardour/route.h b/libs/ardour/ardour/route.h index a0f9573562..ee2fcadd1c 100644 --- a/libs/ardour/ardour/route.h +++ b/libs/ardour/ardour/route.h @@ -242,8 +242,10 @@ class Route : public SessionObject, public Automatable, public RouteGroupMember, int add_processor (boost::shared_ptr<Processor>, Placement placement, ProcessorStreams* err = 0, bool activation_allowed = true); int add_processor_by_index (boost::shared_ptr<Processor>, int, ProcessorStreams* err = 0, bool activation_allowed = true); - int add_processor (boost::shared_ptr<Processor>, ProcessorList::iterator iter, ProcessorStreams* err = 0, bool activation_allowed = true); - int add_processors (const ProcessorList&, boost::shared_ptr<Processor> before, ProcessorStreams* err = 0); + int add_processor (boost::shared_ptr<Processor>, boost::shared_ptr<Processor>, ProcessorStreams* err = 0, bool activation_allowed = true); + int add_processors (const ProcessorList&, boost::shared_ptr<Processor>, ProcessorStreams* err = 0); + boost::shared_ptr<Processor> before_processor_for_placement (Placement); + boost::shared_ptr<Processor> before_processor_for_index (int); int remove_processor (boost::shared_ptr<Processor>, ProcessorStreams* err = 0, bool need_process_lock = true); int remove_processors (const ProcessorList&, ProcessorStreams* err = 0); int reorder_processors (const ProcessorList& new_order, ProcessorStreams* err = 0); @@ -305,7 +307,7 @@ class Route : public SessionObject, public Automatable, public RouteGroupMember, PBD::Signal1<void,void*> SelectedChanged; - int add_aux_send (boost::shared_ptr<Route>, Placement p); + int add_aux_send (boost::shared_ptr<Route>, boost::shared_ptr<Processor>); void remove_aux_or_listen (boost::shared_ptr<Route>); /** |