This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Oleg.Plakhotnyuk
Recipients Oleg.Plakhotnyuk, ezio.melotti, sandro.tosi
Date 2012-01-17.15:23:44
SpamBayes Score 0.071096115
Marked as misclassified No
Message-id <1326813825.38.0.418557281447.issue13806@psf.upfronthosting.co.za>
In-reply-to
Content
According to documentation (http://docs.python.org/library/audioop.html), adpcm2lin, alaw2lin and ulaw2lin are using 'width' argument to represent output frames width. However, in audioop.c module there are checks that are raising exceptions if input frames length is not multiple of 'width'. I have replaced checking of 'len' to match 'size' with checking of 'len*size' to match 'size' in order to retain only basic length validity checks.
History
Date User Action Args
2012-01-17 15:23:45Oleg.Plakhotnyuksetrecipients: + Oleg.Plakhotnyuk, ezio.melotti, sandro.tosi
2012-01-17 15:23:45Oleg.Plakhotnyuksetmessageid: <1326813825.38.0.418557281447.issue13806@psf.upfronthosting.co.za>
2012-01-17 15:23:44Oleg.Plakhotnyuklinkissue13806 messages
2012-01-17 15:23:44Oleg.Plakhotnyukcreate