summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/route.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2016-04-24 21:47:52 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2016-05-31 15:30:41 -0400
commit83e51ee69b6b95574f160d4024995d6ad7cdfab5 (patch)
treea130f38171510a12ce51cdd162c95b796e5ea228 /libs/ardour/ardour/route.h
parent69f67b6198995f5bc46991212d73e6a1149b868f (diff)
add Slavable API for VCA assign/unassign
Diffstat (limited to 'libs/ardour/ardour/route.h')
-rw-r--r--libs/ardour/ardour/route.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/libs/ardour/ardour/route.h b/libs/ardour/ardour/route.h
index 46c5b1f3c7..52be8c94b4 100644
--- a/libs/ardour/ardour/route.h
+++ b/libs/ardour/ardour/route.h
@@ -57,6 +57,7 @@
#include "ardour/soloable.h"
#include "ardour/solo_control.h"
#include "ardour/solo_safe_control.h"
+#include "ardour/slavable.h"
class RoutePinWindowProxy;
@@ -83,13 +84,14 @@ class SoloIsolateControl;
class PhaseControl;
class MonitorControl;
-class LIBARDOUR_API Route : public Stripable,
+class LIBARDOUR_API Route : public GraphNode,
+ public Stripable,
public Soloable,
public Muteable,
public Monitorable,
public Automatable,
public RouteGroupMember,
- public GraphNode,
+ public Slavable,
public boost::enable_shared_from_this<Route>
{
public:
@@ -599,8 +601,6 @@ public:
pframes_t nframes, int declick);
bool slaved_to (boost::shared_ptr<VCA>) const;
- void vca_assign (boost::shared_ptr<VCA>);
- void vca_unassign (boost::shared_ptr<VCA>);
protected:
friend class Session;
@@ -611,8 +611,11 @@ public:
void curve_reallocate ();
virtual void set_block_size (pframes_t nframes);
-protected:
- virtual framecnt_t check_initial_delay (framecnt_t nframes, framepos_t&) { return nframes; }
+ protected:
+ int assign_controls (boost::shared_ptr<VCA>);
+ int unassign_controls (boost::shared_ptr<VCA>);
+
+ virtual framecnt_t check_initial_delay (framecnt_t nframes, framepos_t&) { return nframes; }
void fill_buffers_with_input (BufferSet& bufs, boost::shared_ptr<IO> io, pframes_t nframes);