summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/internal_send.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2014-06-23 00:48:47 +0200
committerRobin Gareus <robin@gareus.org>2014-06-23 00:48:47 +0200
commitf6aaa1660bbce1782b8292d106c8adfb1ecbdc16 (patch)
treefed19ed4b309e256d5d9980b81f0d5725b32cbf2 /libs/ardour/ardour/internal_send.h
parent14c6dfab075b20c19396516ea9f6f663cb2d1def (diff)
en/disable internal send+returns with tracks en/disable.
Diffstat (limited to 'libs/ardour/ardour/internal_send.h')
-rw-r--r--libs/ardour/ardour/internal_send.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/ardour/ardour/internal_send.h b/libs/ardour/ardour/internal_send.h
index a06bf39906..6feeb35c6d 100644
--- a/libs/ardour/ardour/internal_send.h
+++ b/libs/ardour/ardour/internal_send.h
@@ -28,7 +28,7 @@ namespace ARDOUR {
class LIBARDOUR_API InternalSend : public Send
{
public:
- InternalSend (Session&, boost::shared_ptr<Pannable>, boost::shared_ptr<MuteMaster>, boost::shared_ptr<Route> send_to, Delivery::Role role = Delivery::Aux, bool ignore_bitslot = false);
+ InternalSend (Session&, boost::shared_ptr<Pannable>, boost::shared_ptr<MuteMaster>, boost::shared_ptr<Route> send_from, boost::shared_ptr<Route> send_to, Delivery::Role role = Delivery::Aux, bool ignore_bitslot = false);
virtual ~InternalSend ();
std::string display_name() const;
@@ -46,6 +46,7 @@ class LIBARDOUR_API InternalSend : public Send
bool configure_io (ChanCount in, ChanCount out);
int set_block_size (pframes_t);
+ boost::shared_ptr<Route> source_route() const { return _send_from; }
boost::shared_ptr<Route> target_route() const { return _send_to; }
const PBD::ID& target_id() const { return _send_to_id; }
@@ -60,6 +61,7 @@ class LIBARDOUR_API InternalSend : public Send
private:
BufferSet mixbufs;
+ boost::shared_ptr<Route> _send_from;
boost::shared_ptr<Route> _send_to;
PBD::ID _send_to_id;
PBD::ScopedConnection connect_c;