Jeff Pursell added the comment:
Here's my fix. The left file is the original and the right file is my version.
Perhaps someone should check this patch on a big endian machine to make sure
there are no issues there. I do not anticipate any issues.
416c416
< nframes =
New submission from Jeff Pursell :
I tried to create a 4 second file and only heard the first 2 seconds. The file
size was correct for a 44.1 kHz, 16 bit mono file at 4 seconds, but both aplay
and audactiy ignored the second half of the file. I went to this page
https://ccrma.stanford.edu