top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Byteorder of audioop functions in python?

+3 votes
488 views

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'x00xff'
posted Nov 18, 2013 by Naveena Garg

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote

It always matches the system's endianness.

answer Nov 18, 2013 by Jai Prakash
...