From 169ad5b01936a1b62547eec617c11dcd36dd5d8e Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 11 Jan 2011 02:48:02 +0000 Subject: [PATCH] Don't add post-fader aux sends after the main deliveries; put them post-fader but pre-main-outs. git-svn-id: svn://localhost/ardour2/branches/3.0@8505 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/route.cc | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc index 71780870d1..5fe287c2bf 100644 --- a/libs/ardour/route.cc +++ b/libs/ardour/route.cc @@ -2554,13 +2554,22 @@ Route::listen_via (boost::shared_ptr route, Placement placement, bool /*a _monitor_send = listener; } - if (placement == PostFader) { - /* put it *really* at the end, not just after the panner (main outs) - */ - add_processor (listener, _processors.end()); - } else { - add_processor (listener, PreFader); - } + + if (aux) { + + add_processor (listener, placement); + + } else { + + if (placement == PostFader) { + /* put it *really* at the end, not just after the panner (main outs) + */ + add_processor (listener, _processors.end()); + } else { + add_processor (listener, PreFader); + } + + } return 0; }