I am writing a plugin that records incoming audio in a graph. When a command is sent to this plugin, the recording stops and the audio is written.
However, I would like to know the number of actual channels that were fed to the plugin, not the number of maximum connections, in order not to write 16 inputs if only 2 were recorded.
Is it possible, from within an AudioProcessor, to know the number of actually connected inputs ?
Thanks for your help