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:
Paul Davis
2012-08-08 22:27:12 +00:00
parent d7da12285f
commit 5ffce5b8c9

View File

@@ -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;
}