Hey guys. I want my plugin to support stereo in stereo out and mono in stereo out (but never mono out), I simply can’t figure out how to do this. I would have thought simply removing this check:
if (layouts.getMainOutputChannelSet() != layouts.getMainInputChannelSet())
return false;
from the template would enable mono in to stereo out, but I can’t get the mono->stereo option to appear in logic. Do I need to add some information the ctor? At the moment it has
.withInput ("Input", AudioChannelSet::stereo(), true)
I don’t know if I’m also supposed to add a mono AudioChannelSet in the ctor (since the plugin already supports mono), and if so how to make that input a “main input channel set”.
Any help would be greatly appreciated, thanks in advance!