projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix crash when copy'ing latent plugins
[ardour.git]
/
libs
/
ardour
/
event_type_map.cc
diff --git
a/libs/ardour/event_type_map.cc
b/libs/ardour/event_type_map.cc
index cd3aeacebd9f02a87160bf80be3035afb055468a..28f688df8124a0f656decbfb853c1a403987e60b 100644
(file)
--- 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;
if (str == "gain") {
p_type = GainAutomation;
+ } else if (str == "trim") {
+ p_type = TrimAutomation;
} else if (str == "solo") {
p_type = SoloAutomation;
} else if (str == "mute") {
} else if (str == "solo") {
p_type = SoloAutomation;
} else if (str == "mute") {
@@
-193,7
+195,7
@@
EventTypeMap::from_symbol(const string& str) const
} else {
PBD::warning << "Unknown Parameter '" << str << "'" << endmsg;
}
} else {
PBD::warning << "Unknown Parameter '" << str << "'" << endmsg;
}
-
+
return Evoral::Parameter(p_type, p_channel, p_id);
}
return Evoral::Parameter(p_type, p_channel, p_id);
}
@@
-207,6
+209,8
@@
EventTypeMap::to_symbol(const Evoral::Parameter& param) const
if (t == GainAutomation) {
return "gain";
if (t == GainAutomation) {
return "gain";
+ } else if (t == TrimAutomation) {
+ return "trim";
} else if (t == PanAzimuthAutomation) {
return "pan-azimuth";
} else if (t == PanElevationAutomation) {
} else if (t == PanAzimuthAutomation) {
return "pan-azimuth";
} else if (t == PanElevationAutomation) {