projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
692f69b
)
LV2: don't leave active plugins deactivated after latency-compute-run
author
Robin Gareus
<robin@gareus.org>
Wed, 16 Jul 2014 15:08:25 +0000
(17:08 +0200)
committer
Robin Gareus
<robin@gareus.org>
Wed, 16 Jul 2014 15:08:42 +0000
(17:08 +0200)
libs/ardour/lv2_plugin.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/lv2_plugin.cc
b/libs/ardour/lv2_plugin.cc
index 36f9032865f2357f70f0555945cc24f7591ab523..deff882d70ac409670744dc910428afc264bd843 100644
(file)
--- a/
libs/ardour/lv2_plugin.cc
+++ b/
libs/ardour/lv2_plugin.cc
@@
-1888,6
+1888,7
@@
LV2Plugin::latency_compute_run()
// Run the plugin so that it can set its latency parameter
+ bool was_activated = _was_activated;
activate();
uint32_t port_index = 0;
@@
-1918,6
+1919,9
@@
LV2Plugin::latency_compute_run()
run(bufsize);
deactivate();
+ if (was_activated) {
+ activate();
+ }
}
const LilvPort*