Maybe it’s becouse of my english…
Ok, let me explain better than before…
In the constructor of the main component i do this:
const String error (audioDeviceManager.initialise (1, /* number of input channels */
8, /* number of output channels */
0, /* no XML settings.. */
true /* select default device on failure */));
T("Couldn't open an output device!\n\n") + error);
// ..and connect the mixer to our source player.
// start the IO device pulling its data from our callback..
/* other stuff */
audioSettingsComp=new AudioDeviceSelectorComponent ( audioDeviceManager,
When i run the app, it choose the default audiodevice that has 2 output channels.
Then I open the AudioDeviceSelectorComponent and choose the other audiodevice selecting all the 8 output channels.
But when i “play” audio just the first 2 channels selected (1&2 or, if 1&2 are uncecked, 3&4…) will stream audio; this (i think) becouse info.buffer in the getNextAudioBlock got still 2 output channels.
I thought that selecting the right audiodevice and selecting the output channels to open then info.buffer would change with it.
I hope you understand what i mean…