I’m having a hard time figuring how to add multiple specific microphones as input to an AudioProcessorGraph.
Specifically, how to specific a certain microphone is beyond me. If I use this code, it seems the system’s default microphone is always used:
mAudioGraph.addNode (std::make_unique<juce::AudioProcessorGraph::AudioGraphIOProcessor> (juce::AudioProcessorGraph::AudioGraphIOProcessor::audioInputNode));
Do I need to call AudioDeviceManager::setAudioDeviceSetup(…) before adding each microphone? And if so, that API seems to only work on device names, not device ids or paths. It’s beyond me how this is supposed to work with two microphones using the same name?
Thanks for any hints.
Some background information on what I’m trying to achieve: