diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2012-08-08 22:27:12 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2012-08-08 22:27:12 +0000 |
commit | 5ffce5b8c9af327b8680e60752ec001e30e4b001 (patch) | |
tree | 99e3229b95a5df862419d242ef8f4dcf60c90469 /libs/ardour/vst_plugin.cc | |
parent | d7da12285f3f871660a3a45bc6f91a25e7ad1027 (diff) |
some VST parameter mgmt debugging
git-svn-id: svn://localhost/ardour2/branches/3.0@13114 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/vst_plugin.cc')
-rw-r--r-- | libs/ardour/vst_plugin.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/ardour/vst_plugin.cc b/libs/ardour/vst_plugin.cc index 2bbc65a34e..dbc64f1ea8 100644 --- a/libs/ardour/vst_plugin.cc +++ b/libs/ardour/vst_plugin.cc @@ -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; } |