diff options
Diffstat (limited to 'libs/ardour/vca.cc')
-rw-r--r-- | libs/ardour/vca.cc | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/libs/ardour/vca.cc b/libs/ardour/vca.cc index a2b16913bb..e3476c5d08 100644 --- a/libs/ardour/vca.cc +++ b/libs/ardour/vca.cc @@ -67,7 +67,7 @@ VCA::get_next_vca_number () return next_number; } -VCA::VCA (Session& s, int32_t num, const string& name) +VCA::VCA (Session& s, int32_t num, const string& name) : Stripable (s, name, PresentationInfo (num, PresentationInfo::VCA)) , Muteable (s, name) , Automatable (s) @@ -103,6 +103,13 @@ VCA::~VCA () } } +string +VCA::full_name() const +{ + /* name() is never empty - default is VCA %n */ + return string_compose (_("VCA %1 : %2"), _number, name()); +} + XMLNode& VCA::get_state () { |