AU version of break recursive loops of Plugin::parameter_changed()->Plugin::ParameterChanged()->Plugin::parameter_changed() ...
git-svn-id: svn://localhost/ardour2/branches/3.0@13037 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
b1ad798b9a
commit
b04cd7d704
@ -784,6 +784,10 @@ AUPlugin::set_parameter (uint32_t which, float val)
|
||||
return;
|
||||
}
|
||||
|
||||
if (get_parameter() == val) {
|
||||
return;
|
||||
}
|
||||
|
||||
const AUParameterDescriptor& d (descriptors[which]);
|
||||
DEBUG_TRACE (DEBUG::AudioUnits, string_compose ("set parameter %1 in scope %2 element %3 to %4\n", d.id, d.scope, d.element, val));
|
||||
unit->SetParameter (d.id, d.scope, d.element, val);
|
||||
|
Loading…
Reference in New Issue
Block a user