diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2015-10-20 10:10:35 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2015-10-20 10:23:49 -0400 |
commit | 7804a524dc106ec1540fa5f02e26f84c71cbef9a (patch) | |
tree | ce0a7e6820ee28607caf45261b340ce589cb53f1 /libs/ardour/plugin.cc | |
parent | 740c4dd134ab0f1936ec3973f998afaaa4c43433 (diff) |
Revert "rename ParameterChanged signal in Plugin to ParameterChangedExternally to reflect its intent, and clean up the result."
This reverts commit 336b2eb9a4a8634bae84a15e952d20335aa28c12.
Diffstat (limited to 'libs/ardour/plugin.cc')
-rw-r--r-- | libs/ardour/plugin.cc | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/libs/ardour/plugin.cc b/libs/ardour/plugin.cc index d68502713c..f14c56798b 100644 --- a/libs/ardour/plugin.cc +++ b/libs/ardour/plugin.cc @@ -356,21 +356,19 @@ Plugin::clear_preset () PresetLoaded (); /* EMIT SIGNAL */ } +/** @param val `plugin' value */ void -Plugin::set_parameter (uint32_t /* which */, float /* value */) +Plugin::set_parameter (uint32_t which, float) { _parameter_changed_since_last_preset = true; _session.set_dirty (); - PresetDirty (); /* EMIT SIGNAL */ + ParameterChanged (which, get_parameter (which)); /* EMIT SIGNAL */ } void -Plugin::parameter_changed_externally (uint32_t which, float /* value */) +Plugin::set_parameter_automated (uint32_t which, float val) { - _parameter_changed_since_last_preset = true; - _session.set_dirty (); - ParameterChangedExternally (which, get_parameter (which)); /* EMIT SIGNAL */ - PresetDirty (); /* EMIT SIGNAL */ + Plugin::set_parameter (which, val); } int |