when sending notice of a change in a plugin parameter value, send the current value
authorPaul Davis <paul@linuxaudiosystems.com>
Thu, 9 Aug 2012 17:37:23 +0000 (17:37 +0000)
committerPaul Davis <paul@linuxaudiosystems.com>
Thu, 9 Aug 2012 17:37:23 +0000 (17:37 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@13121 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/ardour/plugin.cc

index 8cdbf98b899258502dc616042f7b51993ff9d328..9f39e067874cba9e119018395952ff2e31a30212 100644 (file)
@@ -343,7 +343,7 @@ Plugin::set_parameter (uint32_t which, float val)
 {
        _parameter_changed_since_last_preset = true;
        _session.set_dirty ();
-       ParameterChanged (which, val); /* EMIT SIGNAL */
+       ParameterChanged (which, get_parameter (which)); /* EMIT SIGNAL */
 }
 
 int