[issue2259] Poor support other than 44.1khz, 16bit audio files?

Philipp Weinfurter report at bugs.python.org
Thu Aug 25 10:10:44 CEST 2011

Philipp Weinfurter <wirrwuzzi at gmail.com> added the comment:

>From AIFF-C Draft '91, Section 5, Sound Data Chunk:
"If soundData[] contains an odd number of bytes, a pad byte with a value of zero is added at the end to preserve an even length for this

So I think aifc.patch is wrong.

However, Chunk.skip() is broken for non-seekable files, I added a trivial patch

nosy: +phew
Added file: http://bugs.python.org/file23045/chunk2.patch

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list