13
0

Fix plugin replication wrt. sidechains

Ignore sidechain pins, when no sidechain ports are present.
Otherwise a plugin with 1 audio input and 1 sidechain input
would match a stereo track when the sidechain port is not present.
This commit is contained in:
Robin Gareus 2023-02-05 15:46:33 +01:00
parent f035a0baed
commit 64ec70ec20
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -2459,7 +2459,7 @@ PluginInsert::automatic_can_support_io_configuration (ChanCount const& inx, Chan
}
/* Plugin inputs match requested inputs + side-chain-ports exactly */
if (inputs == insc) {
if (inputs == insc && has_sidechain ()) {
out = outputs + midi_bypass;
return Match (ExactMatch, 1);
}