Thanks Fabian, I agree your code is simple, what drives me mad are the exceptions to the rule and the host bugs. For example I was refusing layouts where some aux channels had 0 channel, it worked fine everywhere except in Dorico which seemed confused and produced a loud buzzing sound. Ableton live also works 50% of the time, I don’t know why, so I’m just going to disable the multibus for it. I also have a special case for Logic, it can list the ‘Stereo+3xmono’ and ‘mono+4x mono’ entries if one adds the AUChannelInfo mentionned here:
But apparently it is the single AU host that works that way.
The three VST3 aux buses work nicely in Cubase, it seems. But with REPEAR I’m not sure. It selects the ‘1x mono + 3x mono’ first (while I would prefer to have ‘stereo + 3x mono’ being selected).
Anyway… that was not really a rant against JUCE (although I think the code is too complicated for me) – so thank you for replying, and I know your task is not funny.