getTotalNumInputChannels() does not show actual number of channels


#1

Hi,

i’m currently trying to create a plugin (VST3) with a channel configuration that’s dependent on the actual number of channels in a track. But as it turns out,
getTotalNumInputChannels() always shows the maximum number of channels,
whether those are configured using BusesProperties() or preferred channel configs.

Is there a way to get the actual number of channels in a track ? What am i missing here ?

Best,
n