I was trying to set audio input to mono and output to stereo using two AudioStreamBasicDescription
s for one RemoteIO AudioUnit, which is the only AudioUnit there.
Then I registered two separate callbacks for input (kAudioOutputUnitProperty_SetInputCallback
) and output (kAudioUnitProperty_SetRenderCallback
), and expect that in my output callback, with AudioBufferList *ioData
, ioData->mNumberBuffers
should be 2.
But, to my surprise, it is still 1.
Is it that RemoteIO does not support having different channel numbers for input and output?