There is no ready-made way of doing that, but you can guess it from looking at the lines of code that produce that printed statement:
if(context->audioInChannels != context->audioOutChannels ||
context->analogInChannels != context-> analogOutChannels){
printf("Different number of outputs and inputs available. Working with what we have.\n");
}
that exposes all the variables you need, so you can print them in setup()
:
printf("audioIn: %d, audioOut: %d, analogIn: %d, analogOut: %d\n",
context->audioInChannels, context->audioOutChannels,
context->analogInChannels, context->analogOutChannels);