Hi,
I would like to play different files to different channels of the ASIO device. I was able to create
AudioSourcePlayer audioSourcePlayer;
AudioTransportSource transportSource;
audioDeviceManager.addAudioCallback (&audioSourcePlayer);
audioSourcePlayer.setSource (&transportSource);
AudioFormatReader *audioReader = formatManager.createReaderFor (File("C:\\p1.wav"));
AudioFormatReaderSource * currentAudioFileSource = new AudioFormatReaderSource (audioReader, true);
transportSource.setSource (currentAudioFileSource, 0, nullptr, audioReader->sampleRate);
transportSource as above but dont know how to associate it to a single channel (mono) or two channels (stereo) for playing.
I have also set proper bits in config.outputChannels.
This is working for direct play of a single audio to all the set channels, but i would like to play different files on different channels simultaneously.
Thanks.