channels[c]->Append(buffer, (mFormat == int16Sample)?int16Sample:floatSample, block);
From this i can see channel will have left buffer and channel will have right buffer. Is my understanding right i.e. alternate buffers 0, 2, 4, 6 will constitute left buffer and 1,3,5,7… is right buffer?
If my understsanding is right dumping channel in audacity should show me only mono stream instead of stereo which is happening currently. Please guide me.
I now find the problem. Audacity goes by what you give as input i.e. in my case i was giving number of channels as 2 so probably that was the reason it was just displaying two channels with same mono data right? I have just one more question is that my separated out buffer size is 892kb but stereo buffer size is 1.73MB but both are playing for 10.313 seconds.How is this possible?