I am working on the host side of the SDK, and I am curious how the host is supposed to manage the audio busses.
Let’s say I have an instrument that creates a k30Cine
( L + R + C) audio output (using addAudioOutput()
in the setupProcessing
callback).
Then there is an effect that is just stereo.
How does the host “connect” the instrument to the effect? From the API on the host side (IComponent::getBusInfo
) it looks like you only get a “channelCount” and the notion of what is L vs R vs C is lost.
Also how does the host manage the various kinds of busses (main vs aux). In the examples I could find in the SDK (like in processdata.cpp
) the BusInfo::busType
is ignored.
And the final question would be about what that means for ProcessData
which is the data that is being sent to the plugin to process the batch. I see only inputs/numInputs and outputs/numOutputs. So how is the plugin supposed to know what is what (main vs aux)?
Thanks