diff options
author | Robin Gareus <robin@gareus.org> | 2014-01-13 10:50:49 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2014-01-13 10:50:49 +0100 |
commit | bc88203ef5f343f87016a28104f6977675f2c050 (patch) | |
tree | c626c3f9b673dac9fa9ae3db64c29bed18dd007b /libs | |
parent | d9cf6880b6d65665a55aed212503de0820db6f40 (diff) |
independent panning for external sends
Diffstat (limited to 'libs')
-rw-r--r-- | libs/ardour/delivery.cc | 2 | ||||
-rw-r--r-- | libs/ardour/route.cc | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/libs/ardour/delivery.cc b/libs/ardour/delivery.cc index 26d2cf3acd..e4c39271f5 100644 --- a/libs/ardour/delivery.cc +++ b/libs/ardour/delivery.cc @@ -396,7 +396,7 @@ Delivery::reset_panner () if (_panshell) { _panshell->configure_io (ChanCount (DataType::AUDIO, pans_required()), ChanCount (DataType::AUDIO, pan_outs())); - if (_role == Main || _role == Aux) { + if (_role == Main || _role == Aux || _role == Send) { _panshell->pannable()->set_panner (_panshell->panner()); } } diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc index ea67fe6073..a036c8feb0 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 { @@ -2564,7 +2565,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; |