This is very much to do with JUCE and hosting. And AudioUnits. It is YOUR code JULIAN. I only mentioned Kontakt as an example here since that is a ubiquitous plugin which can be switched from stereo output mode to 32 output mode as needs be.
In VST one has to use different plugins in order to do one or the other. In AudiUnit land, to my best knowledge -the one plugin ( or at least one plugin "component" ) serves as both a stereo out or a multichannel out plugin.
Kontakt is one of the most widely used plugins out there. I merely need to know how to host this in both stereo out, AND in multichannel out mode AS AN AUDIOUNIT ON OSX.
This is what most DAWS do. For a certain fact - both Cubase and Ableton do.
I am using AudioPluginInstance (), AudioPliginFormatmanager, PluginDirectoryScanner etc etc, to do the hosting
as normal in JUCE. And I am using the AUDIOUNIT WRAPPER code that you supply in JUCE to do this. Host AU plugins.
My code, using JUCE can currently host plugins with stereo outputs just fine. But like most DAWs - one sometimes nees to use a plugin ( like Kontakt or Halion ) in MULTI-CHANNEL OUTPUT mode. For example when using several sampler instruments inside a single instance of Kontakt and sending them to seperate tracks in the DAW.
How do you host and deal with plugins that have multiple outputs on Traktion right now ?
Halion 5 is multitimbral for example. Any decent DAW will let you load up 16 seperate instruments inside Halion 5 ( or Sonic ) and then route each of the 16 stereo outs from the single instance of HALION - to seperarte tracks in Cubase or Ableton etc.
I presume Traktion allows this too ?