My plug-in accepts an arbitrary number of input channels. Each channel is supposed to have its own set of parameters, e.g. a gain coefficient.
From what I’ve been reading on the forum, changing the number of parameters on the fly is a no-go; parameters pretty much need to be added in the constructor of the processor. However, at that point I don’t know the number of input channels yet since the host doesn’t set them until after the creation of my plug-in (and theoretically the number of channels can change at any time).
So does that mean what I’m trying to do is impossible with Juce? Seems to be a pretty common use case and I know of quite a few plug-ins that manage to do this.