summaryrefslogtreecommitdiff
path: root/libs/ardour/utils.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2017-06-19 17:40:32 +0200
committerRobin Gareus <robin@gareus.org>2017-06-21 13:16:27 +0200
commit7c94499aeca8a67ee5f0fe51fb4f957d6618fef4 (patch)
tree94fa3d66ad0414226aba274bfc77bf7f451e297e /libs/ardour/utils.cc
parent31c6f66d9b75c70a4b02dfa78d5b45b357e18fe8 (diff)
Remove Cruft -- AutomationStyle never did anything.
Trim automation is planned via SlavableAC as normal AutomationMode. Some of this code have a revival (a special "Trim+Preview" state before merging Automation but that has to be more general than Pan & Gain.
Diffstat (limited to 'libs/ardour/utils.cc')
-rw-r--r--libs/ardour/utils.cc33
1 files changed, 0 insertions, 33 deletions
diff --git a/libs/ardour/utils.cc b/libs/ardour/utils.cc
index 8b89107748..18f9d247d8 100644
--- a/libs/ardour/utils.cc
+++ b/libs/ardour/utils.cc
@@ -590,39 +590,6 @@ ARDOUR::auto_state_to_string (AutoState as)
return "";
}
-AutoStyle
-ARDOUR::string_to_auto_style (std::string str)
-{
- if (str == X_("Absolute")) {
- return Absolute;
- } else if (str == X_("Trim")) {
- return Trim;
- }
-
- fatal << string_compose (_("programming error: %1 %2"), "illegal AutoStyle string: ", str) << endmsg;
- abort(); /*NOTREACHED*/
- return Trim;
-}
-
-string
-ARDOUR::auto_style_to_string (AutoStyle as)
-{
- /* to be used only for XML serialization, no i18n done */
-
- switch (as) {
- case Absolute:
- return X_("Absolute");
- break;
- case Trim:
- return X_("Trim");
- break;
- }
-
- fatal << string_compose (_("programming error: %1 %2"), "illegal AutoStyle type: ", as) << endmsg;
- abort(); /*NOTREACHED*/
- return "";
-}
-
std::string
bool_as_string (bool yn)
{