diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-01-15 23:48:12 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-01-15 23:48:12 +0000 |
commit | 597c75ce7b9c35e5dd0ace49462bd02efcd2e5a1 (patch) | |
tree | 148de50e79eba09c6f90abf29b6509e0dbb264db /channels | |
parent | ef642e2e7834df16533a3513c7efe663e0a791c8 (diff) |
Repair // comments to /* */ comments (bug #3347)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4806 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rwxr-xr-x | channels/alaw.h | 8 | ||||
-rwxr-xr-x | channels/chan_phone.c | 4 |
2 files changed, 6 insertions, 6 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, diff --git a/channels/chan_phone.c b/channels/chan_phone.c index de312a542..1c73a4caa 100755 --- a/channels/chan_phone.c +++ b/channels/chan_phone.c @@ -157,7 +157,7 @@ static int phone_digit(struct ast_channel *ast, char digit) case '#': outdigit = 12; break; - case 'f': //flash + case 'f': /*flash*/ case 'F': ioctl(p->fd, IXJCTL_PSTN_SET_STATE, PSTN_ON_HOOK); usleep(320000); @@ -337,7 +337,7 @@ static int phone_setup(struct ast_channel *ast) ast_log(LOG_WARNING, "Failed to start recording\n"); return -1; } - //set the DTMF times (the default is too short) + /* set the DTMF times (the default is too short) */ ioctl(p->fd, PHONE_SET_TONE_ON_TIME, 300); ioctl(p->fd, PHONE_SET_TONE_OFF_TIME, 200); return 0; |