mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-26 08:27:43 +01:00
Fix split buffer audio glitches with lv2 plugins.
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3816 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
117de21f49
commit
abc5ab3933
1 changed files with 2 additions and 2 deletions
|
|
@ -411,11 +411,11 @@ LV2Plugin::connect_and_run (vector<Sample*>& bufs, uint32_t nbufs, int32_t& in_i
|
|||
if (parameter_is_audio(port_index)) {
|
||||
if (parameter_is_input(port_index)) {
|
||||
slv2_instance_connect_port(_instance, port_index,
|
||||
bufs[min((uint32_t)in_index, nbufs - 1)] + offset);
|
||||
bufs[min((uint32_t)in_index, nbufs - 1)]);
|
||||
in_index++;
|
||||
} else if (parameter_is_output(port_index)) {
|
||||
slv2_instance_connect_port(_instance, port_index,
|
||||
bufs[min((uint32_t)out_index, nbufs - 1)] + offset);
|
||||
bufs[min((uint32_t)out_index, nbufs - 1)]);
|
||||
out_index++;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue