VST parameter setting tweak
git-svn-id: svn://localhost/ardour2/branches/3.0@13118 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
@@ -106,7 +106,7 @@ VSTPlugin::set_parameter (uint32_t which, float val)
|
|||||||
|
|
||||||
cerr << name() << " setting parameter #" << which << " to " << val << " current " << v << " == ? " << (v == val) << " delta " << std::setprecision(15) << (v - val) << endl;
|
cerr << name() << " setting parameter #" << which << " to " << val << " current " << v << " == ? " << (v == val) << " delta " << std::setprecision(15) << (v - val) << endl;
|
||||||
|
|
||||||
if (PBD::floateq (get_parameter (which), val, 2)) {
|
if (PBD::floateq (get_parameter (which), val, 1)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user