How to find input channel is connected to any instrument?


#1

Hi,

I want to know which input channels are connected and which are not connected.
I got the active input channels from getActiveInputChannels() method, but don’t know how to find which is actually connected to any instrument.
I have 2 input channels and both are active though I haven’t connected any thing to those input channels.

Thanks in advance!


#2

Good luck with that!

In general, most soundcards probably have no idea whether anything is plugged in, so you just have to ask the user which channels they want.