diff options
author | Robin Gareus <robin@gareus.org> | 2014-06-23 00:48:47 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2014-06-23 00:48:47 +0200 |
commit | f6aaa1660bbce1782b8292d106c8adfb1ecbdc16 (patch) | |
tree | fed19ed4b309e256d5d9980b81f0d5725b32cbf2 /libs/ardour/internal_send.cc | |
parent | 14c6dfab075b20c19396516ea9f6f663cb2d1def (diff) |
en/disable internal send+returns with tracks en/disable.
Diffstat (limited to 'libs/ardour/internal_send.cc')
-rw-r--r-- | libs/ardour/internal_send.cc | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/libs/ardour/internal_send.cc b/libs/ardour/internal_send.cc index 23d9221086..e5c7232f48 100644 --- a/libs/ardour/internal_send.cc +++ b/libs/ardour/internal_send.cc @@ -40,14 +40,21 @@ using namespace std; PBD::Signal1<void, pframes_t> InternalSend::CycleStart; -InternalSend::InternalSend (Session& s, boost::shared_ptr<Pannable> p, boost::shared_ptr<MuteMaster> mm, boost::shared_ptr<Route> sendto, Delivery::Role role, bool ignore_bitslot) +InternalSend::InternalSend (Session& s, + boost::shared_ptr<Pannable> p, + boost::shared_ptr<MuteMaster> mm, + boost::shared_ptr<Route> sendfrom, + boost::shared_ptr<Route> sendto, + Delivery::Role role, + bool ignore_bitslot) : Send (s, p, mm, role, ignore_bitslot) + , _send_from (sendfrom) { - if (sendto) { - if (use_target (sendto)) { - throw failed_constructor(); - } - } + if (sendto) { + if (use_target (sendto)) { + throw failed_constructor(); + } + } init_gain (); |