projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Stop saving of garbage values to LADSPA preset files when an output parameter is...
[ardour.git]
/
libs
/
ardour
/
session_vst.cc
diff --git
a/libs/ardour/session_vst.cc
b/libs/ardour/session_vst.cc
index 85b5f13c4c95c1622dfda130c4bc0b5ac6891b18..2aa873c6e641cd8df324e4f3150d8d8026575649 100644
(file)
--- a/
libs/ardour/session_vst.cc
+++ b/
libs/ardour/session_vst.cc
@@
-70,8
+70,8
@@
long Session::vst_callback (AEffect* effect,
case audioMasterAutomate:
SHOW_CALLBACK ("amc: audioMasterAutomate\n");
// index, value, returns 0
- if (
effect
) {
-
effect->setParameter (effect,
index, opt);
+ if (
plug
) {
+
plug->set_parameter (
index, opt);
}
return 0;