fix buffer size for interleaving, must fit the same number of samples from each channel