summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/route.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2013-07-07 14:39:26 +0200
committerRobin Gareus <robin@gareus.org>2013-07-10 15:27:13 +0200
commit5de0aee2874133dd428640d2e78ae231f3fdd0a8 (patch)
treefb6774dc88f9222008d50d55353ed99a9fbe0544 /libs/ardour/ardour/route.h
parent58b325de319ab1d807511783f55a7fe3748e8614 (diff)
share meter-type among meter instances.
Diffstat (limited to 'libs/ardour/ardour/route.h')
-rw-r--r--libs/ardour/ardour/route.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/libs/ardour/ardour/route.h b/libs/ardour/ardour/route.h
index 783011a158..2e44d00984 100644
--- a/libs/ardour/ardour/route.h
+++ b/libs/ardour/ardour/route.h
@@ -181,10 +181,8 @@ class Route : public SessionObject, public Automatable, public RouteGroupMember,
MeterPoint meter_point() const { return _meter_point; }
void meter ();
- void set_meter_type_mixer (MeterType t) { _meter_type_mixer = t; }
- void set_meter_type_meterbridge (MeterType t) { _meter_type_meterbridge = t; }
- MeterType meter_type_mixer() const { return _meter_type_mixer; }
- MeterType meter_type_meterbridge() const { return _meter_type_meterbridge; }
+ void set_meter_type (MeterType t) { _meter_type = t; }
+ MeterType meter_type() const { return _meter_type; }
/* Processors */
@@ -491,8 +489,7 @@ class Route : public SessionObject, public Automatable, public RouteGroupMember,
Flag _flags;
int _pending_declick;
MeterPoint _meter_point;
- MeterType _meter_type_mixer;
- MeterType _meter_type_meterbridge;
+ MeterType _meter_type;
boost::dynamic_bitset<> _phase_invert;
bool _self_solo;
uint32_t _soloed_by_others_upstream;