13
0

prevent some mess when automating control ports on midi synths

This commit is contained in:
Robin Gareus 2016-02-21 22:19:08 +01:00
parent 3cc4ee8029
commit f6fe87d63e

View File

@ -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;
}