diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-01-25 12:49:53 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-05-31 15:30:38 -0400 |
commit | cfc55e392ff4a6c551897a64a92f93a8982dc34d (patch) | |
tree | 9e047710780209ea2c69dd1ab5bdc2c3dc574fc7 /libs/ardour/ardour/vca.h | |
parent | f5c717e893a7def1cee70238cc7b9f55e1ff0b0e (diff) |
add name() method to VCA
Diffstat (limited to 'libs/ardour/ardour/vca.h')
-rw-r--r-- | libs/ardour/ardour/vca.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libs/ardour/ardour/vca.h b/libs/ardour/ardour/vca.h index a394dac35a..9a4ff0f602 100644 --- a/libs/ardour/ardour/vca.h +++ b/libs/ardour/ardour/vca.h @@ -35,16 +35,18 @@ class LIBARDOUR_API VCA : public SessionHandleRef { public: VCA (Session& session, const std::string& name); + std::string name() const { return _name; } + void set_value (double val, PBD::Controllable::GroupControlDisposition group_override); double get_value () const; - boost::shared_ptr<AutomationControl> control() const { return _control; } + boost::shared_ptr<GainControl> control() const { return _control; } void add (boost::shared_ptr<Route>); void remove (boost::shared_ptr<Route>); private: - std::string name; + std::string _name; boost::shared_ptr<GainControl> _control; }; |