From 74f8a812765ba197173489407e4d30b0b4f94d66 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 8 Mar 2016 22:09:43 -0500 Subject: change master records in GainControl to use AutomationControl The first step of generalizing master/slave to other controls --- libs/ardour/ardour/gain_control.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libs/ardour/ardour/gain_control.h b/libs/ardour/ardour/gain_control.h index 2b472dc8e0..e565dd33c9 100644 --- a/libs/ardour/ardour/gain_control.h +++ b/libs/ardour/ardour/gain_control.h @@ -70,19 +70,19 @@ class LIBARDOUR_API GainControl : public AutomationControl { private: class MasterRecord { public: - MasterRecord (boost::shared_ptr gc, double r) + MasterRecord (boost::shared_ptr gc, double r) : _master (gc) , _ratio (r) {} - boost::shared_ptr master() const { return _master; } + boost::shared_ptr master() const { return _master; } double ratio () const { return _ratio; } void reset_ratio (double r) { _ratio = r; } PBD::ScopedConnection connection; private: - boost::shared_ptr _master; + boost::shared_ptr _master; double _ratio; }; -- cgit v1.2.3