Some more helpful info on this.... Lengths of chucks are required to be word-aligned. You will occasionally see lines such as the following in wav.c:
len = (len + 1) & ~1;
That is good code... We should always be doing this to compute lengths... Be careful though, we should only do this to see if extra garbage bits should be read and discarded. We shouldn't actually process the extra bytes.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=71218
Originator: NO
Some more helpful info on this.... Lengths of chucks are required to be word-aligned. You will occasionally see lines such as the following in wav.c:
len = (len + 1) & ~1;
That is good code... We should always be doing this to compute lengths... Be careful though, we should only do this to see if extra garbage bits should be read and discarded. We shouldn't actually process the extra bytes.