summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2013-07-09 01:25:54 +0200
committerRobin Gareus <robin@gareus.org>2013-07-10 15:27:14 +0200
commit24f2961cce98f296ef6c1824cce86c241bb120e6 (patch)
tree59ec591011a23548d39c321880cac3047247b4f3 /libs/ardour/ardour
parent4d49961c93fe23dc4f76a5bcb60c93d0c80bcd3c (diff)
...towards unique track numbers.
Diffstat (limited to 'libs/ardour/ardour')
-rw-r--r--libs/ardour/ardour/route.h4
-rw-r--r--libs/ardour/ardour/session.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/libs/ardour/ardour/route.h b/libs/ardour/ardour/route.h
index 2e44d00984..134b153b4b 100644
--- a/libs/ardour/ardour/route.h
+++ b/libs/ardour/ardour/route.h
@@ -184,6 +184,9 @@ class Route : public SessionObject, public Automatable, public RouteGroupMember,
void set_meter_type (MeterType t) { _meter_type = t; }
MeterType meter_type() const { return _meter_type; }
+ void set_unique_id (uint32_t id) { _unique_id = id; }
+ uint32_t unique_id() const { return _unique_id; }
+
/* Processors */
boost::shared_ptr<Amp> amp() const { return _amp; }
@@ -495,6 +498,7 @@ class Route : public SessionObject, public Automatable, public RouteGroupMember,
uint32_t _soloed_by_others_upstream;
uint32_t _soloed_by_others_downstream;
uint32_t _solo_isolated;
+ uint32_t _unique_id;
bool _denormal_protection;
diff --git a/libs/ardour/ardour/session.h b/libs/ardour/ardour/session.h
index a149224607..c3695de1dc 100644
--- a/libs/ardour/ardour/session.h
+++ b/libs/ardour/ardour/session.h
@@ -929,6 +929,7 @@ class Session : public PBD::StatefulDestructible, public PBD::ScopedConnectionLi
bool _writable;
bool _was_seamless;
bool _under_nsm_control;
+ uint32_t _unique_track_number;
void initialize_latencies ();
void set_worst_io_latencies ();