[Python-checkins] CVS: python/dist/src/Modules audioop.c,1.35,1.36
Guido van Rossum
python-dev@python.org
Tue, 2 May 2000 17:18:17 -0400 (EDT)
Update of /projects/cvsroot/python/dist/src/Modules
In directory eric:/projects/python/develop/guido/src/Modules
Modified Files:
audioop.c
Log Message:
Disable the ZEROTRAP code -- this turns a 0 byte into a 2 byte and I
don't think that's what we want. There was some brief discussion
of this somewhere but I don't recall where.
Index: audioop.c
===================================================================
RCS file: /projects/cvsroot/python/dist/src/Modules/audioop.c,v
retrieving revision 1.35
retrieving revision 1.36
diff -C2 -r1.35 -r1.36
*** audioop.c 2000/02/29 13:59:22 1.35
--- audioop.c 2000/05/02 21:18:13 1.36
***************
*** 112,116 ****
56, 48, 40, 32, 24, 16, 8, 0 };
! #define ZEROTRAP /* turn on the trap as per the MIL-STD */
#define BIAS 0x84 /* define the add-in bias for 16 bit samples */
#define CLIP 32635
--- 112,116 ----
56, 48, 40, 32, 24, 16, 8, 0 };
! /* #define ZEROTRAP /* turn on the trap as per the MIL-STD */
#define BIAS 0x84 /* define the add-in bias for 16 bit samples */
#define CLIP 32635