Serhiy Storchaka added the comment: > Why the test succeeded on little endian?
Because array.fromfile() is used only to swap 16- and 32-bit samples on bigendian platform. Perhaps we need the byteswap() function in the audioop module. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19633> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com