[issue12866] Want to submit our Audioop.c patch for 24bit audio

Peder Jørgensen report at bugs.python.org
Wed Aug 31 00:51:55 CEST 2011

New submission from Peder Jørgensen <peder.jorgensen at gmail.com>:

I'm working with audio in python 2.7 and I needed Audioop to work with
24bit files, it currently only supports 8 16 and 32 bit sound files.
(24bit files are very common in the audio world)
My brother knows c quite well, so he managed to patch it up to support 24bit files for me, he's a bit too shy to try and get it into the standard python package him self, so I thought i'd give it a go for him :) 

I think the updated audioop.c would be a great add-on to python, it's 100% backwards compatible, and should work fine with python 3.
I searched for hours and hours to see if someone had fixed it before, but found nothing.
Not sure if this is the right place for this kind of thing, but was the best place I could find on python.org

The file i uploaded is not ready for release, my brother will probably want to go over it a few times and do more testing.

files: audioop24.c
messages: 143239
nosy: Peder.Jørgensen
priority: normal
severity: normal
status: open
title: Want to submit our Audioop.c patch for 24bit audio
type: behavior
versions: Python 2.7
Added file: http://bugs.python.org/file23075/audioop24.c

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list