X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Fevent_type_map.cc;h=28f688df8124a0f656decbfb853c1a403987e60b;hb=480e0b2a5f9f3ced1c0dee6b0a6b178e35f9e89a;hp=cd3aeacebd9f02a87160bf80be3035afb055468a;hpb=b35504a71eb9fe58201745a5d6331612f9da4766;p=ardour.git diff --git a/libs/ardour/event_type_map.cc b/libs/ardour/event_type_map.cc index cd3aeacebd..28f688df81 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") { @@ -193,7 +195,7 @@ EventTypeMap::from_symbol(const string& str) const } else { PBD::warning << "Unknown Parameter '" << str << "'" << endmsg; } - + 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"; + } else if (t == TrimAutomation) { + return "trim"; } else if (t == PanAzimuthAutomation) { return "pan-azimuth"; } else if (t == PanElevationAutomation) {