[SciPy-dev] patch for io/wavfile.py

Travis E. Oliphant oliphant@enthought....
Mon Aug 11 18:13:01 CDT 2008


Jason Newton wrote:
> Hi,
>
> I was unfortunate to discover a bug in io.wavfile, it assumes long to 
> be 4 bytes on all architectures and on my amd64 box I was getting 
> errors reading simple wavs until I made the changes contained in the 
> patch.  Basically just swapped out int for long in all the struct pack 
> and unpack calls where it made sense to.
Hi Jason,

Try out the recent SVN.   Thanks for the patch.

-Travis



More information about the Scipy-dev mailing list