+
+ automation_state_changed (s); /* EMIT SIGNAL */
+}
+
+Evoral::ControlList::InterpolationStyle
+AutomationList::default_interpolation () const
+{
+ switch (_parameter.type()) {
+ case GainAutomation:
+ case BusSendLevel:
+ case EnvelopeAutomation:
+ return ControlList::Exponential;
+ break;
+ case TrimAutomation:
+ return ControlList::Logarithmic;
+ break;
+ default:
+ break;
+ }
+ /* based on Evoral::ParameterDescriptor log,toggle,.. */
+ return ControlList::default_interpolation ();