[issue12866] Add support for 24-bit samples in the audioop module

Serhiy Storchaka report at bugs.python.org
Thu Sep 5 21:36:00 CEST 2013


Serhiy Storchaka added the comment:

Unfortunately Peter's file is not ready for release. It adds support of 24-bit samples only to the part of functions, it works only on little-endian platform, it should crash on platforms which not allows non-aligned access, and I suspect it can overflow output buffers. And it doesn't provided in diff format.

Here is other patch which adds support for 24-bit samples. It also cleanup and simplify the code of audioop.c so that its total size is even decreased. Patch includes test and documentation changes.

----------
components: +Extension Modules
keywords: +patch
nosy: +r.david.murray
stage:  -> patch review
title: Want to submit our Audioop.c patch for 24bit audio -> Add support for 24-bit samples in the audioop module
Added file: http://bugs.python.org/file31619/audioop_24bit.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12866>
_______________________________________


More information about the Python-bugs-list mailing list