summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libs/ardour/ardour/vca.h6
-rw-r--r--libs/ardour/vca.cc2
2 files changed, 5 insertions, 3 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;
};
diff --git a/libs/ardour/vca.cc b/libs/ardour/vca.cc
index 7580d5794a..2ba8b8c7c4 100644
--- a/libs/ardour/vca.cc
+++ b/libs/ardour/vca.cc
@@ -27,7 +27,7 @@ using std::string;
VCA::VCA (Session& s, const string& n)
: SessionHandleRef (s)
- , name (n)
+ , _name (n)
, _control (new GainControl (s, Evoral::Parameter (GainAutomation), boost::shared_ptr<AutomationList> ()))
{
}