diff options
author | Robin Gareus <robin@gareus.org> | 2016-07-09 04:42:21 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-07-09 04:42:21 +0200 |
commit | 56c4eebfdd1033b9dd92ddcdf8698dda38545997 (patch) | |
tree | 03a41abf570ad6805fa6a5e8db038e3aa8b3d5a8 /libs/ardour/lv2_plugin.cc | |
parent | 49c9569039f9c7d51e969affa447b270de9e60da (diff) |
move LatencyChanged detection from Plugin to Processor (plugin-insert)
* support all Plugin APIs (not implementation specific)
* also check for latency changes when plugins are hard en/disabled
Diffstat (limited to 'libs/ardour/lv2_plugin.cc')
-rw-r--r-- | libs/ardour/lv2_plugin.cc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libs/ardour/lv2_plugin.cc b/libs/ardour/lv2_plugin.cc index d27c045750..c6c2a6b127 100644 --- a/libs/ardour/lv2_plugin.cc +++ b/libs/ardour/lv2_plugin.cc @@ -2707,9 +2707,6 @@ LV2Plugin::connect_and_run(BufferSet& bufs, if (_latency_control_port) { framecnt_t new_latency = signal_latency (); - if (_current_latency != new_latency) { - LatencyChanged (_current_latency, new_latency); /* EMIT SIGNAL */ - } _current_latency = new_latency; } return 0; |