From f6fe87d63ef28c4373002abe72462a0b9586d1e8 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sun, 21 Feb 2016 22:19:08 +0100 Subject: prevent some mess when automating control ports on midi synths --- libs/ardour/lv2_plugin.cc | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'libs') 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; } -- cgit v1.2.3