summaryrefslogtreecommitdiff
path: root/libs/ardour/event_type_map.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2019-12-14 15:04:08 +0100
committerRobin Gareus <robin@gareus.org>2019-12-14 15:06:23 +0100
commitd4e023e1cbd783c2a46f8b4b231798c05f6b6708 (patch)
tree94c28a4bd8e44f2de803fefdd3f569c583961f7e /libs/ardour/event_type_map.cc
parentd2facbf9c1116c192335ade77a4c07962e5473b9 (diff)
Make BusSendLevel 1st class citizen (1/2)
Equivalent to Gain and Trim (gain-coefficient, not dB) and use it for Sends.
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 17a1daef07..6b79c7825f 100644
--- a/libs/ardour/event_type_map.cc
+++ b/libs/ardour/event_type_map.cc
@@ -135,6 +135,8 @@ EventTypeMap::from_symbol(const string& str) const
if (str == "gain") {
p_type = GainAutomation;
+ } else if (str == "send") {
+ p_type = BusSendLevel;
} else if (str == "trim") {
p_type = TrimAutomation;
} else if (str == "solo") {
@@ -235,6 +237,8 @@ EventTypeMap::to_symbol(const Evoral::Parameter& param) const
if (t == GainAutomation) {
return "gain";
+ } else if (t == BusSendLevel) {
+ return "send";
} else if (t == TrimAutomation) {
return "trim";
} else if (t == PanAzimuthAutomation) {