|
From: Chris B. <ch...@cn...> - 2007-11-08 17:43:53
|
On Wed, Nov 07, 2007 at 12:49:30PM -0800, kd2bd wrote: > rec -r 44100 test.wav > > and get: > > sox: SoX v14.0.0 > sox auto: Detected file format type: wav > sox wav: WAV Chunk fmt > sox wav: WAV Chunk RIFF > sox wav: WAV Chunk z > sox soxio: Failed reading `test.wav': Could not find data chunk. Ahh, good test. This output shows clearly that the sox did a rewind instead of seek forward to the beginning of file and read in RIFF. That clearly shows that our new usage of fseeko() has problems. I've done some searching on the internet and I'm not finding any links that say fseeko() has been problematic on some Distributions. I'll keep looking though. Not sure what options we would have other then stop using fseeko. If you feel like testing this theory, you could edit the file src/misc.c. Look for any referenes to fseeko and replace with just fseek(). Probably WAV files will work after that. Chris |