diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-03-08 22:09:43 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-05-31 15:30:40 -0400 |
commit | 74f8a812765ba197173489407e4d30b0b4f94d66 (patch) | |
tree | d3526423a381333cab18b6eb11c0979f3ccc162d /libs/ardour/ardour/gain_control.h | |
parent | 9f66fe1ebbb506b646f2e20c5530d895e4a5f092 (diff) |
change master records in GainControl to use AutomationControl
The first step of generalizing master/slave to other controls
Diffstat (limited to 'libs/ardour/ardour/gain_control.h')
-rw-r--r-- | libs/ardour/ardour/gain_control.h | 6 |
1 files 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<GainControl> gc, double r) + MasterRecord (boost::shared_ptr<AutomationControl> gc, double r) : _master (gc) , _ratio (r) {} - boost::shared_ptr<GainControl> master() const { return _master; } + boost::shared_ptr<AutomationControl> master() const { return _master; } double ratio () const { return _ratio; } void reset_ratio (double r) { _ratio = r; } PBD::ScopedConnection connection; private: - boost::shared_ptr<GainControl> _master; + boost::shared_ptr<AutomationControl> _master; double _ratio; }; |