some VST parameter mgmt debugging
git-svn-id: svn://localhost/ardour2/branches/3.0@13114 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
@@ -101,6 +101,10 @@ VSTPlugin::get_parameter (uint32_t which) const
|
||||
void
|
||||
VSTPlugin::set_parameter (uint32_t which, float val)
|
||||
{
|
||||
float v = get_parameter (which);
|
||||
|
||||
cerr << name() << " setting parameter #" << which << " to " << val << " current " << v << " == ? " << (v == val) << endl;
|
||||
|
||||
if (get_parameter (which) == val) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user