In AudioDeviceManager::initialise(), it takes “numInputChannelsNeeded” and “numOutputChannelsNeeded” and other parameters. If an app requires up to 4 input channels,will it be OK to use 4 here?
In the same app, the actual number of active input channels might be less than 4, assuming it is 3. In AudioIODeviceCallback::audioDeviceIOCallback (const float **inputChannelData, int numInputChannels, float **outputChannelData, int numOutputChannels, int numSamples)
What will the value of “numInputChannels” be? 3 or 4? Or it is determined by the value of “inputChannels” in struct AudioDeviceManager::AudioDeviceSetup?
Assuming there are 3 input channels, is it possible to distinguish each input channel by something like channel name? If so, how to do it? If the answer is no, is there a way to identify different input channels?