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 <rep...@bugs.python.org> <http://bugs.python.org/issue12866> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com