friend class PluginInsert;
virtual void set_parameter (uint32_t which, float val);
+ virtual void set_parameter_automated (uint32_t which, float val);
/** Do the actual saving of the current plugin settings to a preset of the provided name.
* Should return a URI on success, or an empty string on failure.
float get_parameter (uint32_t port) const;
uint32_t nth_parameter (uint32_t port, bool& ok) const;
void set_parameter (uint32_t port, float val);
+ void set_parameter_automated (uint32_t port, float val);
bool load_preset (PresetRecord);
int get_parameter_descriptor (uint32_t which, ParameterDescriptor&) const;
std::string describe_parameter (Evoral::Parameter);
ParameterChanged (which, get_parameter (which)); /* EMIT SIGNAL */
}
+void
+Plugin::set_parameter_automated (uint32_t which, float val)
+{
+ Plugin::set_parameter (which, val);
+}
+
int
Plugin::set_state (const XMLNode& node, int /*version*/)
{
SHOW_CALLBACK ("audioMasterAutomate");
// index, value, returns 0
if (plug) {
- plug->set_parameter (index, opt);
+ plug->set_parameter_automated (index, opt);
}
return 0;
}
}
+void
+VSTPlugin::set_parameter_automated (uint32_t which, float newval)
+{
+ Plugin::set_parameter_automated (which, newval);
+}
+
uint32_t
VSTPlugin::nth_parameter (uint32_t n, bool& ok) const
{