From 7d64b48eafea227f61433d125315d7b40bf47682 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Tue, 2 May 2000 21:18:13 +0000 Subject: [PATCH] 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. --- Modules/audioop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/audioop.c b/Modules/audioop.c index 702ca90a5b..c6c8fef057 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 -- 2.50.0