Can we please add a parameter to AudioTransportSource::setSource so it can create a resampler with more than two channels? Currently, it creates a resampling audio source with the default two channels only.
void AudioTransportSource::setSource (PositionableAudioSource* const newSource,
int numChannels = 2)
if (sourceSampleRateToCorrectFor != 0)
newMasterSource = newResamplerSource
= new ResamplingAudioSource (newPositionableSource, false, numChannels);