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 quentin.gallet-gilles
Recipients brett.cannon, quentin.gallet-gilles
Date 2008-06-01.22:40:56
SpamBayes Score 0.00013384296
Marked as misclassified No
Message-id <1212360062.61.0.176063788795.issue2847@psf.upfronthosting.co.za>
In-reply-to
Content
The attached patch removes all cl references from the aifc module and
updates it to make it usable in 3.0. It also supports more compression
types because audioop has been enhanced throughout the years (i.e.
support for alaw encoding since 2.5). The changes are the following :

- replace strings with bytes for frames read from an aiff/aifc file.
- replace / by // to have integer division back
- added ulaw (as an alternative of ULAW) and alaw/ALAW compression
because audioop supports them (I've tested them successfully, using the
samples from this URL :
http://www-mmsp.ece.mcgill.ca/Documents/AudioFormats/AIFF/Samples.html )
- removed all tests when trying to import audioop : they can't fail anymore.
- a bit of PEP-8 cleanup

I'm not an AIFF/AIFC expert, so criticism is welcome!
History
Date User Action Args
2008-06-01 22:41:02quentin.gallet-gillessetspambayes_score: 0.000133843 -> 0.00013384296
recipients: + quentin.gallet-gilles, brett.cannon
2008-06-01 22:41:02quentin.gallet-gillessetspambayes_score: 0.000133843 -> 0.000133843
messageid: <1212360062.61.0.176063788795.issue2847@psf.upfronthosting.co.za>
2008-06-01 22:41:01quentin.gallet-gilleslinkissue2847 messages
2008-06-01 22:41:00quentin.gallet-gillescreate