Author Jeff.Pursell
Recipients Jeff.Pursell
Date 2010-04-04.17:57:09
SpamBayes Score 5.24289e-06
Marked as misclassified No
Message-id <1270403832.09.0.135814575217.issue8311@psf.upfronthosting.co.za>
In-reply-to
Content
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 = len(data) // (self._sampwidth * self._nchannels)
---
>         nframes = len(data) // self._nchannels
427c427
<             self._datawritten = self._datawritten + len(data)
---
>             self._datawritten = self._datawritten + len(data) * self._sampwidth
463c463
<             self._nframes = initlength / (self._nchannels * self._sampwidth)
---
>             self._nframes = initlength // self._nchannels
History
Date User Action Args
2010-04-04 17:57:12Jeff.Pursellsetrecipients: + Jeff.Pursell
2010-04-04 17:57:12Jeff.Pursellsetmessageid: <1270403832.09.0.135814575217.issue8311@psf.upfronthosting.co.za>
2010-04-04 17:57:10Jeff.Purselllinkissue8311 messages
2010-04-04 17:57:10Jeff.Pursellcreate