summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/types_convert.h
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/ardour/types_convert.h
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/ardour/types_convert.h')
-rw-r--r--libs/ardour/ardour/types_convert.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/libs/ardour/ardour/types_convert.h b/libs/ardour/ardour/types_convert.h
index cee969dd00..52cf616c29 100644
--- a/libs/ardour/ardour/types_convert.h
+++ b/libs/ardour/ardour/types_convert.h
@@ -89,20 +89,6 @@ inline bool string_to (const std::string& str, ARDOUR::AutoState& as)
}
template <>
-inline bool to_string (ARDOUR::AutoStyle val, std::string& str)
-{
- str = ARDOUR::auto_style_to_string (val);
- return true;
-}
-
-template <>
-inline bool string_to (const std::string& str, ARDOUR::AutoStyle& as)
-{
- as = ARDOUR::string_to_auto_style (str);
- return true;
-}
-
-template <>
inline bool to_string (ARDOUR::DataType val, std::string& str)
{
str = val.to_string();