[issue19131] Broken support of compressed AIFC files

2013-10-12 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19131 ___ ___

[issue19131] Broken support of compressed AIFC files

2013-10-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset 567241d794bd by Serhiy Storchaka in branch '2.7': Issue #19131: The aifc module now correctly reads and writes sampwidth of http://hg.python.org/cpython/rev/567241d794bd New changeset 863a92cc9e03 by Serhiy Storchaka in branch '3.3': Issue #19131:

[issue19131] Broken support of compressed AIFC files

2013-10-12 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19131

[issue19131] Broken support of compressed AIFC files

2013-09-29 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: Added file: http://bugs.python.org/file31910/pluck-ulaw.aifc ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19131 ___

[issue19131] Broken support of compressed AIFC files

2013-09-29 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: In u-law and A-law compressed AIFC files the sampleSize field is equal to 8 (bits). The aifc module transparently compress/uncompress audio data to 16-bit, but doesn't support the samplewidth parameter in consistency. This causes two bugs: 1. On read