Skip to content

Commit

Permalink
Disable the ZEROTRAP code -- this turns a 0 byte into a 2 byte and I
Browse files Browse the repository at this point in the history
don't think that's what we want.  There was some brief discussion
of this somewhere but I don't recall where.
  • Loading branch information
gvanrossum committed May 2, 2000
1 parent 75a6e67 commit 7d64b48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modules/audioop.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 7d64b48

Please sign in to comment.