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.
This commit is contained in:
Guido van Rossum 2000-05-02 21:18:13 +00:00
parent 75a6e67e69
commit 7d64b48eaf
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ static int ulaw_table[256] = {
120, 112, 104, 96, 88, 80, 72, 64,
56, 48, 40, 32, 24, 16, 8, 0 };
#define ZEROTRAP /* turn on the trap as per the MIL-STD */
/* #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