Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #59889 > unrolled thread

Byteorder of audioop functions

Started byMichael Schwarz <michi.schwarz@gmail.com>
First post2013-11-18 17:51 +0100
Last post2013-11-18 17:51 +0100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python


Contents

  Byteorder of audioop functions Michael Schwarz <michi.schwarz@gmail.com> - 2013-11-18 17:51 +0100

#59889 — Byteorder of audioop functions

FromMichael Schwarz <michi.schwarz@gmail.com>
Date2013-11-18 17:51 +0100
SubjectByteorder of audioop functions
Message-ID<mailman.2853.1384793523.18130.python-list@python.org>
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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web