diff options
Diffstat (limited to 'channels/alaw.h')
-rwxr-xr-x | channels/alaw.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/channels/alaw.h b/channels/alaw.h index 1423e495c..05c08eb15 100755 --- a/channels/alaw.h +++ b/channels/alaw.h @@ -21,7 +21,7 @@ #define INT2ALAW(x) int2alaw[(x>>4)+4096] -// table to convert unsigned a-law bytes to signed linear integers +/* table to convert unsigned a-law bytes to signed linear integers */ static const int alaw2int[256] = { -5504,5504,-344,344,-22016,22016,-1376,1376,-2752,2752,-88,88,-11008,11008, @@ -46,9 +46,9 @@ static const int alaw2int[256] = { }; -// table to convert linear shorts to a-law bytes -// shift the integer to be 12+1 bit first, then add 4096 to get -// the right index +/* table to convert linear shorts to a-law bytes */ +/* shift the integer to be 12+1 bit first, then add 4096 to get */ +/* the right index */ static const unsigned char int2alaw[8192] = { 84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84, |