The interleaf nybble is ignored if the number of channels is not two. Otherwise the number means the number of consequtive samples on each channel before switching channels. The actual number minus one is used so that, for example, zero is a one-channel interleaf.



Most stereo formats interleave the left and right channels one a one-frame basis meaning the left and right channels alternate in sequence. Some formats clump several left channel samples in sequence followed by the same number of right channel samples. eg Audioworks stereo has 8 left samples, 8 right samples, 8 left samples, etc. The interleaf passed to PlayIt in this case would be 8-1 = 7.


[ Parent ] [ Manual root ]


Created by SHtoHTML v1.20