[Patches] [ python-Patches-1231053 ] audioop - alaw encoding/decoding added, code updated

SourceForge.net noreply at sourceforge.net
Mon Mar 20 06:28:13 CET 2006


Patches item #1231053, was opened at 2005-07-02 02:04
Message generated for change (Comment added) made by anthonybaxter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1231053&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Modules
Group: Python 2.5
>Status: Closed
>Resolution: Accepted
Priority: 5
Submitted By: Lars Immisch (larsimmisch)
Assigned to: Anthony Baxter (anthonybaxter)
Summary: audioop - alaw encoding/decoding added, code updated

Initial Comment:
This patch adds a-LAW encoding to audioop and replaces[1] the old 
u-LAW encoding/decoding code with the current code from sox.

If audioop has an ulaw codec, it should also have an alaw codec. 
Besides, shtoom wants/needs it.

Tests and documentation are updated with this patch too.

The patch is a unified diff against CVS that can be applied in one 
piece frrom the root of the python tree.

Beyond the cursory tests in the unittests, I have done 
successful tests with real-life data.

Possible issues: the code from sox uses int16_t.

[1] Rationale for the replacement of existing code: the alaw code 
would have been different in style from the ulaw code and attribution 
of the code would have been less clear.



----------------------------------------------------------------------

>Comment By: Anthony Baxter (anthonybaxter)
Date: 2006-03-20 16:28

Message:
Logged In: YES 
user_id=29957

Patch has been applied to the trunk. Thanks for the patch,
and sorry about the delay in applying it.


----------------------------------------------------------------------

Comment By: Georg Brandl (gbrandl)
Date: 2006-03-18 08:07

Message:
Logged In: YES 
user_id=849994

Patch looks good and has docs and tests.

----------------------------------------------------------------------

Comment By: Florian Schmidt (fastflo)
Date: 2006-01-28 12:25

Message:
Logged In: YES 
user_id=182876

me and the company i'm working for are very interested in
this patch. as a german telecomunication service provider we
have to deal with alaw all the time... (headerless data)
the patch works for us, would be great if it would come into
one of the next release's...

----------------------------------------------------------------------

Comment By: Anthony Baxter (anthonybaxter)
Date: 2005-08-13 07:52

Message:
Logged In: YES 
user_id=29957

I'll look at this shortly.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1231053&group_id=5470


More information about the Patches mailing list