diff options
author | Robin Gareus <robin@gareus.org> | 2017-07-25 16:09:47 +0200 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2017-09-18 11:40:52 -0400 |
commit | 1d587592ca1472e38b2f8127b87b6202874f0d4e (patch) | |
tree | a3e282d5a21e0d23b0fc58541547160082343e21 /libs/ardour/utils.cc | |
parent | 1545c426d9e3bc0411f3b5532c0c5a9eb09394c8 (diff) |
Add support for Latch Automation
Diffstat (limited to 'libs/ardour/utils.cc')
-rw-r--r-- | libs/ardour/utils.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/ardour/utils.cc b/libs/ardour/utils.cc index 31a94702e1..17c1da0850 100644 --- a/libs/ardour/utils.cc +++ b/libs/ardour/utils.cc @@ -561,6 +561,8 @@ ARDOUR::string_to_auto_state (std::string str) return Write; } else if (str == X_("Touch")) { return Touch; + } else if (str == X_("Latch")) { + return Latch; } fatal << string_compose (_("programming error: %1 %2"), "illegal AutoState string: ", str) << endmsg; @@ -585,6 +587,10 @@ ARDOUR::auto_state_to_string (AutoState as) break; case Touch: return X_("Touch"); + break; + case Latch: + return X_("Latch"); + break; } fatal << string_compose (_("programming error: %1 %2"), "illegal AutoState type: ", as) << endmsg; |