Inform plugins about connected input pins
When not using inplace processing (because I/O pins connections are not an identity matrix), dedicated inplace-buffers are used. Those buffers contain silence on unused ports, and hence always valid to use. However it is still useful for plugins to know if a plugin-port is actually used. VST3 can disable busses for unconnected pins.
This commit is contained in:
parent
f6eac0f03a
commit
e87b989501
@ -1063,6 +1063,7 @@ PluginInsert::connect_and_run (BufferSet& bufs, samplepos_t start, samplepos_t e
|
||||
inplace_bufs.get_available (*t, m).read_from (bufs.get_available (*t, in_idx), nframes, offset, offset);
|
||||
} else {
|
||||
inplace_bufs.get_available (*t, m).silence (nframes, offset);
|
||||
i_in_map.unset (*t, in);
|
||||
}
|
||||
mapped.set (*t, m + 1);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user