mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-28 09:27:39 +01:00
LV2: don't leave active plugins deactivated after latency-compute-run
This commit is contained in:
parent
ce5e0dcaae
commit
4306b0d38e
1 changed files with 4 additions and 0 deletions
|
|
@ -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*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue