I’m currently writing a plug-in with per channel processing for Cubase SX. The plugin should be inserted in an audio track with different channel count, e.g. stereo, 5.0 or 5.1. Therefor I have to get the information, how many channels the the audio track has, so that the GUI (and the effect) can adapt automatically to the number of channels.
As far as I know, the number of channels can only be set in the plug-in (the plug-in determines the number of channels).
How can I get the channel configuration of the audio-channel from the calling host?