summaryrefslogtreecommitdiff
path: root/libs/ardour/event_type_map.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2015-04-25 21:24:58 +0200
committerRobin Gareus <robin@gareus.org>2015-04-25 21:24:58 +0200
commit517467f29747acde8baa6f42ed064e2ed58f5ea5 (patch)
treeef41b57cd66aaca1c7b639a2c50ee3463879c7b9 /libs/ardour/event_type_map.cc
parent1e5be9ebfd35f6b603368f394e7f2448b2c2e56d (diff)
prepare trim automation
Diffstat (limited to 'libs/ardour/event_type_map.cc')
-rw-r--r--libs/ardour/event_type_map.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/ardour/event_type_map.cc b/libs/ardour/event_type_map.cc
index cd3aeacebd..8782162304 100644
--- a/libs/ardour/event_type_map.cc
+++ b/libs/ardour/event_type_map.cc
@@ -130,6 +130,8 @@ EventTypeMap::from_symbol(const string& str) const
if (str == "gain") {
p_type = GainAutomation;
+ } else if (str == "trim") {
+ p_type = TrimAutomation;
} else if (str == "solo") {
p_type = SoloAutomation;
} else if (str == "mute") {
@@ -207,6 +209,8 @@ EventTypeMap::to_symbol(const Evoral::Parameter& param) const
if (t == GainAutomation) {
return "gain";
+ } else if (t == TrimAutomation) {
+ return "trim";
} else if (t == PanAzimuthAutomation) {
return "pan-azimuth";
} else if (t == PanElevationAutomation) {