I have the following lines of code:
AudioProcessorGraph _graph; AudioProcessorPlayer _player; MyAudioProcessor _my_internal_plugin; //A class that inherit by AudioPluginInstance and have 2 out channels in plugin description _graph.addNode(_my_internal_plugin); _player.setProcessor (&_graph); deviceManager->addAudioCallback (&_player); //device manager is an instance of AudioDeviceManager and have a active sound card with two active out channels
At this point _graph has two out channels but _my_internal_plugin has 0 out channels. Why? How can the audio processor nodes inside AudioProcessorGraph have the same output channels of current audio device?