[Patches] [ python-Patches-1231053 ] audioop - alaw encoding/decoding added, code updated
SourceForge.net
noreply at sourceforge.net
Fri Aug 12 23:52:03 CEST 2005
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: Open
Resolution: None
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: 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