Commit 7d64b48e authored by Guido van Rossum's avatar Guido van Rossum

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.
parent 75a6e67e
...@@ -111,7 +111,7 @@ static int ulaw_table[256] = { ...@@ -111,7 +111,7 @@ static int ulaw_table[256] = {
120, 112, 104, 96, 88, 80, 72, 64, 120, 112, 104, 96, 88, 80, 72, 64,
56, 48, 40, 32, 24, 16, 8, 0 }; 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 BIAS 0x84 /* define the add-in bias for 16 bit samples */
#define CLIP 32635 #define CLIP 32635
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment