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

Jason Newton nevion@gmail....
Mon Aug 11 17:03:01 CDT 2008


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wavfile.diff
Type: text/x-patch
Size: 2062 bytes
Desc: not available
Url : http://projects.scipy.org/pipermail/scipy-dev/attachments/20080811/9ca9563e/attachment.bin 


More information about the Scipy-dev mailing list