diff options
author | Robin Gareus <robin@gareus.org> | 2014-01-13 10:50:49 +0100 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2014-01-13 09:39:50 -0500 |
commit | 113f28b6fe459689f904c8acbc084e4d2a57ce63 (patch) | |
tree | 7c9ee835985a811c5bd1bedc5f90f30e645189f4 /libs/ardour/route.cc | |
parent | 533e0091b77888c9f41c4c0b2ec99307d718a565 (diff) |
independent panning for external sends
Diffstat (limited to 'libs/ardour/route.cc')
-rw-r--r-- | libs/ardour/route.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc index 315c98ab12..1b40df24dd 100644 --- a/libs/ardour/route.cc +++ b/libs/ardour/route.cc @@ -1069,7 +1069,8 @@ Route::add_processor_from_xml_2X (const XMLNode& node, int version) } else if (node.name() == "Send") { - processor.reset (new Send (_session, _pannable, _mute_master)); + boost::shared_ptr<Pannable> sendpan (new Pannable (_session)); + processor.reset (new Send (_session, sendpan, _mute_master)); } else { @@ -2569,7 +2570,8 @@ Route::set_processor_state (const XMLNode& node) } else if (prop->value() == "send") { - processor.reset (new Send (_session, _pannable, _mute_master)); + boost::shared_ptr<Pannable> sendpan (new Pannable (_session)); + processor.reset (new Send (_session, sendpan, _mute_master)); } else { error << string_compose(_("unknown Processor type \"%1\"; ignored"), prop->value()) << endmsg; |