Byteorder of audioop functions

Michael Schwarz michi.schwarz at gmail.com
Mon Nov 18 11:51:45 EST 2013


Hi

Is the byteorder (or endianness) of the functions in the audioop module somewhere specified or does anyone know how it behaves on different systems?

On my little-endian system it matches the system's endianness:

>>> import sys, audioop
>>> sys.byteorder
'little'
>>> audioop.lin2lin(b'\xff', 1, 2)
b'\x00\xff'

Michael


More information about the Python-list mailing list