typo in the library reference?

nicke hiower4 at elitemail.org
Tue Mar 22 16:18:14 EST 2005


from http://docs.python.org/lib/ossaudio-device-objects.html:

AFMT_U8  	Unsigned, 8-bit audio
AFMT_S16_LE 	Unsigned, 16-bit audio, little-endian byte order
		(as used by Intel processors)
AFMT_S16_BE 	Unsigned, 16-bit audio, big-endian byte order
		(as used by 68k, PowerPC, Sparc)
AFMT_S8 	Signed, 8 bit audio
AFMT_U16_LE 	Signed, 16-bit little-endian audio
AFMT_U16_BE 	Signed, 16-bit big-endian audio

Note how the U:s and S:s are switched compared to signed and unsigned,
this should surely not be like this? If it really is like this it is
uncoherent and quite stupid :P



More information about the Python-list mailing list