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:
parent
f035a0baed
commit
64ec70ec20
|
@ -2459,7 +2459,7 @@ PluginInsert::automatic_can_support_io_configuration (ChanCount const& inx, Chan
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Plugin inputs match requested inputs + side-chain-ports exactly */
|
/* Plugin inputs match requested inputs + side-chain-ports exactly */
|
||||||
if (inputs == insc) {
|
if (inputs == insc && has_sidechain ()) {
|
||||||
out = outputs + midi_bypass;
|
out = outputs + midi_bypass;
|
||||||
return Match (ExactMatch, 1);
|
return Match (ExactMatch, 1);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user