If I modify the MultiOutSynth example to have 1 main output and 1 mono aux bus:
MultiOutSynth() : AudioProcessor (BusesProperties() .withOutput ("Output", AudioChannelSet::stereo(), true) .withOutput ("Aux", AudioChannelSet::mono(), false) )
Then the resulting VST2 plugin will crash in Maschine when loaded – the crash happens on a null pointer dereference for the third channel in internalProcessReplacing :
FloatVectorOperations::clear (chan, numSamples);
with ‘chan’ being 0 for the last channel.
If seems to be caused by the odd number of channels, if I replace the mono bus by a stereo bus, the crash is gone. I’m not sure if it is an issue in the juce vst wrapper or an issue in maschine, though.