[Asterisk-cvs] asterisk/codecs codec_ilbc.c,1.6,1.7
markster at lists.digium.com
markster at lists.digium.com
Thu Oct 14 01:15:24 CDT 2004
- Previous message: [Asterisk-cvs] asterisk/include/asterisk module.h,1.12,1.13
- Next message: [Asterisk-cvs] asterisk/codecs/ilbc FrameClassify.c, 1.2,
1.3 FrameClassify.h, 1.1, 1.2 LPCdecode.c, 1.2,
1.3 LPCdecode.h, 1.1, 1.2 LPCencode.c, 1.3, 1.4 LPCencode.h,
1.1, 1.2 StateConstructW.c, 1.2, 1.3 StateConstructW.h, 1.1,
1.2 StateSearchW.c, 1.2, 1.3 StateSearchW.h, 1.1,
1.2 anaFilter.c, 1.2, 1.3 anaFilter.h, 1.1, 1.2 constants.c,
1.1, 1.2 constants.h, 1.1, 1.2 createCB.c, 1.2, 1.3 createCB.h,
1.1, 1.2 doCPLC.c, 1.2, 1.3 doCPLC.h, 1.1, 1.2 enhancer.c, 1.2,
1.3 enhancer.h, 1.1, 1.2 filter.c, 1.2, 1.3 filter.h, 1.1,
1.2 gainquant.c, 1.2, 1.3 gainquant.h, 1.1, 1.2 getCBvec.c,
1.2, 1.3 getCBvec.h, 1.1, 1.2 helpfun.c, 1.3, 1.4 helpfun.h,
1.2, 1.3 hpInput.c, 1.2, 1.3 hpInput.h, 1.1, 1.2 hpOutput.c,
1.2, 1.3 hpOutput.h, 1.1, 1.2 iCBConstruct.c, 1.2,
1.3 iCBConstruct.h, 1.1, 1.2 iCBSearch.c, 1.4, 1.5 iCBSearch.h,
1.1, 1.2 iLBC_decode.c, 1.2, 1.3 iLBC_decode.h, 1.1,
1.2 iLBC_define.h, 1.1, 1.2 iLBC_encode.c, 1.2,
1.3 iLBC_encode.h, 1.1, 1.2 lsf.c, 1.2, 1.3 lsf.h, 1.1,
1.2 packing.c, 1.2, 1.3 packing.h, 1.1, 1.2 syntFilter.c, 1.2,
1.3 syntFilter.h, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /usr/cvsroot/asterisk/codecs
In directory mongoose.digium.com:/tmp/cvs-serv9772/codecs
Modified Files:
codec_ilbc.c
Log Message:
Update to new iLBC codec
Index: codec_ilbc.c
===================================================================
RCS file: /usr/cvsroot/asterisk/codecs/codec_ilbc.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- codec_ilbc.c 22 Jun 2004 18:49:00 -0000 1.6
+++ codec_ilbc.c 14 Oct 2004 05:15:47 -0000 1.7
@@ -3,11 +3,11 @@
*
* Translate between signed linear and Internet Low Bitrate Codec
*
- * The iLBC code is from The IETF code base and is copyright GlobalSound, AB
+ * The iLBC code is from The IETF code base and is copyright The Internet Society (2004)
*
- * Copyright (C) 1999, Mark Spencer
+ * Copyright (C) 1999-2004, Digium, Inc.
*
- * Mark Spencer <markster at linux-support.net>
+ * Mark Spencer <markster at digium.com>
*
* This program is free software, distributed under the terms of
* the GNU General Public License
@@ -33,6 +33,8 @@
#include "ilbc_slin_ex.h"
#define USE_ILBC_ENHANCER 0
+#define ILBC_MS 30
+/* #define ILBC_MS 20 */
AST_MUTEX_DEFINE_STATIC(localuser_lock);
static int localusecnt=0;
@@ -61,7 +63,7 @@
if (tmp) {
/* Shut valgrind up */
memset(&tmp->enc, 0, sizeof(tmp->enc));
- initEncode(&tmp->enc);
+ initEncode(&tmp->enc, ILBC_MS);
tmp->tail = 0;
localusecnt++;
}
@@ -75,7 +77,7 @@
if (tmp) {
/* Shut valgrind up */
memset(&tmp->dec, 0, sizeof(tmp->dec));
- initDecode(&tmp->dec, USE_ILBC_ENHANCER);
+ initDecode(&tmp->dec, ILBC_MS, USE_ILBC_ENHANCER);
tmp->tail = 0;
localusecnt++;
}
- Previous message: [Asterisk-cvs] asterisk/include/asterisk module.h,1.12,1.13
- Next message: [Asterisk-cvs] asterisk/codecs/ilbc FrameClassify.c, 1.2,
1.3 FrameClassify.h, 1.1, 1.2 LPCdecode.c, 1.2,
1.3 LPCdecode.h, 1.1, 1.2 LPCencode.c, 1.3, 1.4 LPCencode.h,
1.1, 1.2 StateConstructW.c, 1.2, 1.3 StateConstructW.h, 1.1,
1.2 StateSearchW.c, 1.2, 1.3 StateSearchW.h, 1.1,
1.2 anaFilter.c, 1.2, 1.3 anaFilter.h, 1.1, 1.2 constants.c,
1.1, 1.2 constants.h, 1.1, 1.2 createCB.c, 1.2, 1.3 createCB.h,
1.1, 1.2 doCPLC.c, 1.2, 1.3 doCPLC.h, 1.1, 1.2 enhancer.c, 1.2,
1.3 enhancer.h, 1.1, 1.2 filter.c, 1.2, 1.3 filter.h, 1.1,
1.2 gainquant.c, 1.2, 1.3 gainquant.h, 1.1, 1.2 getCBvec.c,
1.2, 1.3 getCBvec.h, 1.1, 1.2 helpfun.c, 1.3, 1.4 helpfun.h,
1.2, 1.3 hpInput.c, 1.2, 1.3 hpInput.h, 1.1, 1.2 hpOutput.c,
1.2, 1.3 hpOutput.h, 1.1, 1.2 iCBConstruct.c, 1.2,
1.3 iCBConstruct.h, 1.1, 1.2 iCBSearch.c, 1.4, 1.5 iCBSearch.h,
1.1, 1.2 iLBC_decode.c, 1.2, 1.3 iLBC_decode.h, 1.1,
1.2 iLBC_define.h, 1.1, 1.2 iLBC_encode.c, 1.2,
1.3 iLBC_encode.h, 1.1, 1.2 lsf.c, 1.2, 1.3 lsf.h, 1.1,
1.2 packing.c, 1.2, 1.3 packing.h, 1.1, 1.2 syntFilter.c, 1.2,
1.3 syntFilter.h, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the svn-commits
mailing list