create_automation_child (GainAutomation, false);
}
+ if (automation_child (TrimAutomation) == 0) {
+ create_automation_child (TrimAutomation, false);
+ }
+
/* if set_state above didn't create a mute automation child, we need to make one */
if (automation_child (MuteAutomation) == 0) {
create_automation_child (MuteAutomation, false);
create_gain_automation_child (param, show);
+ } else if (param.type() == TrimAutomation) {
+
+ create_trim_automation_child (param, show);
+
} else if (param.type() == PanWidthAutomation ||
param.type() == PanElevationAutomation ||
param.type() == PanAzimuthAutomation) {