[Asterisk-cvs] asterisk/channels chan_iax.c,1.50,1.51 chan_iax2.c,1.103,1.104
citats at lists.digium.com
citats at lists.digium.com
Sun Mar 7 18:05:01 CST 2004
Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv1853/channels
Modified Files:
chan_iax.c chan_iax2.c
Log Message:
Make sure chan_iax.c and chan_iax2.c know the size of G726 frames
Index: chan_iax.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_iax.c,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -d -r1.50 -r1.51
--- chan_iax.c 4 Mar 2004 01:11:25 -0000 1.50
+++ chan_iax.c 7 Mar 2004 22:57:00 -0000 1.51
@@ -682,6 +682,7 @@
samples = f->datalen;
break;
case AST_FORMAT_ADPCM:
+ case AST_FORMAT_G726:
samples = f->datalen *2;
break;
case AST_FORMAT_SPEEX:
Index: chan_iax2.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_iax2.c,v
retrieving revision 1.103
retrieving revision 1.104
diff -u -d -r1.103 -r1.104
--- chan_iax2.c 5 Mar 2004 00:31:55 -0000 1.103
+++ chan_iax2.c 7 Mar 2004 22:57:00 -0000 1.104
@@ -647,6 +647,7 @@
samples = f->datalen;
break;
case AST_FORMAT_ADPCM:
+ case AST_FORMAT_G726:
samples = f->datalen *2;
break;
default:
More information about the svn-commits
mailing list