i did a full overlaul of the bus/channel system in my plugin framework.. and read everything i could find related to that in the official sdk/docs, steinberg forum and from google searches.. and then i added some VERY extensive logging, printing out all sorts of information for all vst3 calls my plugins receive..
then i tried the plugin in various hosts (bitwig, reaper, carla, ardour, qtractor).. and the printouts are quite interesting! i can see pretty big differences how the hosts treat vst3 plugins..
but.. the plugins still doesn't work properly in qtracktor and ardour..
it doesn't seem ardour and qtractor calls Vst::IAudioProcessor::setBusArrangements() in my plugins, but reaper, bitwig and carla do..
ardour and qtractor thinks my plugin has 0 audio inputs and outputs, even if i tell them i have 1 bus with 2 channels (stereo) for both..
see here about setBusArrangements:
https://developer.steinberg.help/displa ... +Sequences
and here:
https://developer.steinberg.help/displa ... ntsettings
"After instantiation of the plug-in, the host calls Vst::IAudioProcessor::setBusArrangements with a default configuration (depending on the current channel configuration), if the plug-in accepts it (by returning kResultOK), it will continue with this configuration.
If not (by returning kResultFalse), the host asks the plug-in for its wanted configuration by calling Vst::IAudioProcessor::getBusArrangement (for Input and Output) and then recall Vst::IAudioProcessor::setBusArrangements with the final wanted configuration."
not going to spend much more time on this,..
- tor-helge
source code on github, as always:
https://github.com/skei/kode2/tree/mast ... lugin/vst3