You're incrementing c twice. So one of your channels should have a phase shift from the other and both should be double the frequency. For buffer i, you are getting c = 0, 2, 4, 6, 8, 10, and for buffer i + 1 you are getting c = 1, 3, 5, 7, 9 ...
You want both to get c = 0, 1, 2, 3 ....
Also what is the point of multiplying 1 * (channels - 1)?