summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-05-02 21:18:13 (GMT)
committerGuido van Rossum <guido@python.org>2000-05-02 21:18:13 (GMT)
commit7d64b48eafea227f61433d125315d7b40bf47682 (patch)
tree92b82a23c6245109de275664c45bba4695223989 /Modules
parent75a6e67e69cb4c66480446c03ec2fda3e430dd8b (diff)
downloadcpython-7d64b48eafea227f61433d125315d7b40bf47682.zip
cpython-7d64b48eafea227f61433d125315d7b40bf47682.tar.gz
cpython-7d64b48eafea227f61433d125315d7b40bf47682.tar.bz2
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.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/audioop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/audioop.c b/Modules/audioop.c
index 702ca90..c6c8fef 100644
--- a/Modules/audioop.c
+++ b/Modules/audioop.c
@@ -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