diff options
author | Robin Gareus <robin@gareus.org> | 2016-02-21 22:19:08 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-02-21 22:19:08 +0100 |
commit | f6fe87d63ef28c4373002abe72462a0b9586d1e8 (patch) | |
tree | 6334ee4c0a22c609bb2eb3ced8ec0d6bd7ff3ea2 /libs/ardour/lv2_plugin.cc | |
parent | 3cc4ee8029f9e48c618719af9df9c35c3505e201 (diff) |
prevent some mess when automating control ports on midi synths
Diffstat (limited to 'libs/ardour/lv2_plugin.cc')
-rw-r--r-- | libs/ardour/lv2_plugin.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libs/ardour/lv2_plugin.cc b/libs/ardour/lv2_plugin.cc index 7791c0b7dd..8dde93f3b3 100644 --- a/libs/ardour/lv2_plugin.cc +++ b/libs/ardour/lv2_plugin.cc @@ -710,6 +710,13 @@ LV2Plugin::requires_fixed_sized_buffers () const * e.g The process cycle may be split when looping, also * the period-size may change any time: see set_block_size() */ + if (get_info()->n_inputs.n_midi() > 0) { + /* we don't yet implement midi buffer offsets (for split cycles). + * Also connect_and_run() also uses _session.transport_frame() directly + * (for BBT) which is not offset for plugin cycle split. + */ + return true; + } return _no_sample_accurate_ctrl; } |