fix Aux-Send Panner Linking
authorRobin Gareus <robin@gareus.org>
Thu, 18 Aug 2016 23:14:21 +0000 (01:14 +0200)
committerRobin Gareus <robin@gareus.org>
Thu, 18 Aug 2016 23:14:21 +0000 (01:14 +0200)
libs/ardour/route.cc

index 11db73241cbd304c629a556828f02611134678c9..8efe1315bc838b0d8ecfbe18bc82e9f1c7e5b104 100644 (file)
@@ -2981,8 +2981,7 @@ Route::add_aux_send (boost::shared_ptr<Route> route, boost::shared_ptr<Processor
 
                {
                        Glib::Threads::Mutex::Lock lm (AudioEngine::instance()->process_lock ());
-                       boost::shared_ptr<Pannable> sendpan (new Pannable (_session));
-                       listener.reset (new InternalSend (_session, sendpan, _mute_master, boost::dynamic_pointer_cast<ARDOUR::Route>(shared_from_this()), route, Delivery::Aux));
+                       listener.reset (new InternalSend (_session, _pannable, _mute_master, boost::dynamic_pointer_cast<ARDOUR::Route>(shared_from_this()), route, Delivery::Aux));
                }
 
                add_processor (listener, before);