On Thu, 31 Dec 2009, gerald mwangi wrote:
Hello guys, i need some help with libsndfile.
My question is: when calling sf_readf_float (SNDFILE *sndfile, float
*ptr, sf_count_t frames) where sndfile is a stereo wave file, how are
the channels interleaved?
ptr[2*N] (evens) are channel 1 (left)
ptr[(2*N)+1] (odds) are channel 2 (right)
HTH,
gabriel