Recording different tracks from different input channels

Hi,
I want to record tracks from different input channels(i.e. I have 2 input channels) into different files(i.e. 2 files will be created).
How could I differentiate the input channels data and how can I write that into different files?
Do I need to work on the ‘const float** inputChannelData’ input argument of audioDeviceIOCallback() method?

Thanks in advance!

The input data contains an array of data per channel - you’d just write each channel’s data to wherever you want it to go.

Hi Jules,

Thanks for your reply…