[issue30077] Support Apple AIFF-C pseudo compression in aifc.py
Yussuf Özkan
report at bugs.python.org
Thu Feb 4 16:57:31 EST 2021
Yussuf Özkan <yussuf.ozkan at yandex.com> added the comment:
If you read a normal uncompressed AIFF with aifc, the samples are in big-endian order and need to be converted before they can be played on little-endian systems.
As all other compression schemes produce big-endian data, so should 'SOWT' encoded AIFF. Therefore, the bytes of each sample should be swapped on read and write.
See also: https://en.wikipedia.org/wiki/Audio_Interchange_File_Format#AIFF_on_Mac_OS_X
----------
components: +macOS
keywords: +patch
message_count: 4.0 -> 5.0
nosy: +ned.deily, ronaldoussoren, yussuf.ozkan
nosy_count: 3.0 -> 6.0
pull_requests: +23249
pull_request: https://github.com/python/cpython/pull/24449
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue30077>
_______________________________________
More information about the Python-bugs-list
mailing list