# getTotalNumInputChannels() does not show actual number of channels

**URL:** <https://forum.juce.com/t/gettotalnuminputchannels-does-not-show-actual-number-of-channels/28317>\
**Category:** Audio Plugins\
**Created:** [June 29, 2018, 1:31pm UTC](https://forum.juce.com/t/gettotalnuminputchannels-does-not-show-actual-number-of-channels/28317 "2018-06-29T13:31:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![parkellipsen](https://avatars.discourse-cdn.com/v4/letter/p/7993a0/32.png) [@parkellipsen](https://forum.juce.com/u/parkellipsen)\
**Post date:** [June 29, 2018, 1:31pm UTC](https://forum.juce.com/t/gettotalnuminputchannels-does-not-show-actual-number-of-channels/28317/1 "2018-06-29T13:31:15Z")

</div>

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
