[Asterisk-cvs] asterisk/codecs codec_a_mu.c, 1.8, 1.9 codec_adpcm.c, 1.18, 1.19 codec_alaw.c, 1.11, 1.12 codec_g723_1.c, 1.16, 1.17 codec_g726.c, 1.11, 1.12 codec_gsm.c, 1.17, 1.18 codec_ilbc.c, 1.10, 1.11 codec_lpc10.c, 1.15, 1.16 codec_speex.c, 1.13, 1.14 codec_ulaw.c, 1.12, 1.13

kpfleming at lists.digium.com kpfleming at lists.digium.com
Mon Jun 6 18:09:54 CDT 2005


Update of /usr/cvsroot/asterisk/codecs
In directory mongoose.digium.com:/tmp/cvs-serv11277/codecs

Modified Files:
	codec_a_mu.c codec_adpcm.c codec_alaw.c codec_g723_1.c 
	codec_g726.c codec_gsm.c codec_ilbc.c codec_lpc10.c 
	codec_speex.c codec_ulaw.c 
Log Message:
more file version tags


Index: codec_a_mu.c
===================================================================
RCS file: /usr/cvsroot/asterisk/codecs/codec_a_mu.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- codec_a_mu.c	21 Apr 2005 06:02:44 -0000	1.8
+++ codec_a_mu.c	6 Jun 2005 22:12:19 -0000	1.9
@@ -10,6 +10,17 @@
  * the GNU General Public License
  */
 
+#include <fcntl.h>
+#include <netinet/in.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <unistd.h>
+
+#include "asterisk.h"
+
+ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
+
 #include "asterisk/lock.h"
 #include "asterisk/logger.h"
 #include "asterisk/module.h"
@@ -17,12 +28,6 @@
 #include "asterisk/channel.h"
 #include "asterisk/alaw.h"
 #include "asterisk/ulaw.h"
-#include <fcntl.h>
-#include <netinet/in.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <unistd.h>
 
 #define BUFFER_SIZE   8096	/* size for the translation buffers */
 

Index: codec_adpcm.c
===================================================================
RCS file: /usr/cvsroot/asterisk/codecs/codec_adpcm.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- codec_adpcm.c	12 May 2005 17:40:44 -0000	1.18
+++ codec_adpcm.c	6 Jun 2005 22:12:19 -0000	1.19
@@ -14,6 +14,17 @@
  * the GNU General Public License
  */
 
+#include <fcntl.h>
+#include <netinet/in.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <unistd.h>
+
+#include "asterisk.h"
+
+ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
+
 #include "asterisk/lock.h"
 #include "asterisk/logger.h"
 #include "asterisk/module.h"
@@ -21,12 +32,6 @@
 #include "asterisk/options.h"
 #include "asterisk/translate.h"
 #include "asterisk/channel.h"
-#include <fcntl.h>
-#include <netinet/in.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <unistd.h>
 
 /* define NOT_BLI to use a faster but not bit-level identical version */
 /* #define NOT_BLI */

Index: codec_alaw.c
===================================================================
RCS file: /usr/cvsroot/asterisk/codecs/codec_alaw.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- codec_alaw.c	12 May 2005 17:40:44 -0000	1.11
+++ codec_alaw.c	6 Jun 2005 22:12:19 -0000	1.12
@@ -10,6 +10,17 @@
  * the GNU General Public License
  */
 
+#include <fcntl.h>
+#include <netinet/in.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <unistd.h>
+
+#include "asterisk.h"
+
+ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
+
 #include "asterisk/lock.h"
 #include "asterisk/logger.h"
 #include "asterisk/module.h"
@@ -18,12 +29,6 @@
 #include "asterisk/translate.h"
 #include "asterisk/channel.h"
 #include "asterisk/alaw.h"
-#include <fcntl.h>
-#include <netinet/in.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <unistd.h>
 
 #define BUFFER_SIZE   8096	/* size for the translation buffers */
 

Index: codec_g723_1.c
===================================================================
RCS file: /usr/cvsroot/asterisk/codecs/codec_g723_1.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- codec_g723_1.c	21 Apr 2005 06:02:44 -0000	1.16
+++ codec_g723_1.c	6 Jun 2005 22:12:19 -0000	1.17
@@ -22,11 +22,6 @@
 #define TYPE_MASK	 0x3
 
 #include <sys/types.h>
-#include "asterisk/lock.h"
-#include "asterisk/translate.h"
-#include "asterisk/module.h"
-#include "asterisk/logger.h"
-#include "asterisk/channel.h"
 #include <fcntl.h>
 #include <stdlib.h>
 #include <unistd.h>
@@ -34,6 +29,16 @@
 #include <string.h>
 #include <stdio.h>
 
+#include "asterisk.h"
+
+ASTERISK_FILE_VERSION("$Revision$")
+
+#include "asterisk/lock.h"
+#include "asterisk/translate.h"
+#include "asterisk/module.h"
+#include "asterisk/logger.h"
+#include "asterisk/channel.h"
+
 #ifdef ANNEX_B
 #include "g723.1b/typedef2.h"
 #include "g723.1b/cst2.h"

Index: codec_g726.c
===================================================================
RCS file: /usr/cvsroot/asterisk/codecs/codec_g726.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- codec_g726.c	15 May 2005 03:18:16 -0000	1.11
+++ codec_g726.c	6 Jun 2005 22:12:19 -0000	1.12
@@ -13,6 +13,17 @@
  * the GNU General Public License
  */
 
+#include <fcntl.h>
+#include <netinet/in.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <unistd.h>
+
+#include "asterisk.h"
+
+ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
+
 #include "asterisk/lock.h"
 #include "asterisk/logger.h"
 #include "asterisk/module.h"
@@ -20,12 +31,6 @@
 #include "asterisk/options.h"
 #include "asterisk/translate.h"
 #include "asterisk/channel.h"
-#include <fcntl.h>
-#include <netinet/in.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <unistd.h>
 
 #define WANT_ASM
 #include "log2comp.h"

Index: codec_gsm.c
===================================================================
RCS file: /usr/cvsroot/asterisk/codecs/codec_gsm.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- codec_gsm.c	12 May 2005 17:40:44 -0000	1.17
+++ codec_gsm.c	6 Jun 2005 22:12:19 -0000	1.18
@@ -14,6 +14,17 @@
  * the GNU General Public License
  */
 
+#include <fcntl.h>
+#include <stdlib.h>
+#include <unistd.h>
+#include <netinet/in.h>
+#include <string.h>
+#include <stdio.h>
+
+#include "asterisk.h"
+
+ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
+
 #include "asterisk/lock.h"
 #include "asterisk/translate.h"
 #include "asterisk/config.h"
@@ -21,12 +32,6 @@
 #include "asterisk/module.h"
 #include "asterisk/logger.h"
 #include "asterisk/channel.h"
-#include <fcntl.h>
-#include <stdlib.h>
-#include <unistd.h>
-#include <netinet/in.h>
-#include <string.h>
-#include <stdio.h>
 
 #include "gsm/inc/gsm.h"
 #include "../formats/msgsm.h"

Index: codec_ilbc.c
===================================================================
RCS file: /usr/cvsroot/asterisk/codecs/codec_ilbc.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- codec_ilbc.c	21 Apr 2005 06:02:44 -0000	1.10
+++ codec_ilbc.c	6 Jun 2005 22:12:19 -0000	1.11
@@ -13,11 +13,6 @@
  * the GNU General Public License
  */
 
-#include "asterisk/lock.h"
-#include "asterisk/translate.h"
-#include "asterisk/module.h"
-#include "asterisk/logger.h"
-#include "asterisk/channel.h"
 #include <fcntl.h>
 #include <stdlib.h>
 #include <unistd.h>
@@ -25,6 +20,16 @@
 #include <string.h>
 #include <stdio.h>
 
+#include "asterisk.h"
+
+ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
+
+#include "asterisk/lock.h"
+#include "asterisk/translate.h"
+#include "asterisk/module.h"
+#include "asterisk/logger.h"
+#include "asterisk/channel.h"
+
 #include "ilbc/iLBC_encode.h"
 #include "ilbc/iLBC_decode.h"
 

Index: codec_lpc10.c
===================================================================
RCS file: /usr/cvsroot/asterisk/codecs/codec_lpc10.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- codec_lpc10.c	12 May 2005 17:40:44 -0000	1.15
+++ codec_lpc10.c	6 Jun 2005 22:12:19 -0000	1.16
@@ -16,6 +16,16 @@
  * the GNU General Public License
  */
 
+#include <fcntl.h>
+#include <stdlib.h>
+#include <unistd.h>
+#include <netinet/in.h>
+#include <string.h>
+#include <stdio.h>
+
+#include "asterisk.h"
+
+ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 
 #include "asterisk/lock.h"
 #include "asterisk/translate.h"
@@ -24,12 +34,6 @@
 #include "asterisk/module.h"
 #include "asterisk/logger.h"
 #include "asterisk/channel.h"
-#include <fcntl.h>
-#include <stdlib.h>
-#include <unistd.h>
-#include <netinet/in.h>
-#include <string.h>
-#include <stdio.h>
 
 #include "lpc10/lpc10.h"
 

Index: codec_speex.c
===================================================================
RCS file: /usr/cvsroot/asterisk/codecs/codec_speex.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- codec_speex.c	12 May 2005 17:40:44 -0000	1.13
+++ codec_speex.c	6 Jun 2005 22:12:19 -0000	1.14
@@ -14,6 +14,14 @@
  * hacked to be configurable by anthm and bkw 9/28/2004
  */
 
+#include <fcntl.h>
+#include <stdlib.h>
+#include <unistd.h>
+#include <netinet/in.h>
+#include <string.h>
+#include <stdio.h>
+#include <speex.h>
+
 static int quality = 8;
 static int complexity = 2;
 static int enhancement = 0;
@@ -28,6 +36,10 @@
 #define TYPE_LOW	 0x1
 #define TYPE_MASK	 0x3
 
+#include "asterisk.h"
+
+ASTERISK_FILE_VERSION("$Revision$")
+
 #include "asterisk/lock.h"
 #include "asterisk/translate.h"
 #include "asterisk/module.h"
@@ -35,14 +47,6 @@
 #include "asterisk/options.h"
 #include "asterisk/logger.h"
 #include "asterisk/channel.h"
-#include <fcntl.h>
-#include <stdlib.h>
-#include <unistd.h>
-#include <netinet/in.h>
-#include <string.h>
-#include <stdio.h>
-
-#include <speex.h>
 
 /* Sample frame data */
 #include "slin_speex_ex.h"

Index: codec_ulaw.c
===================================================================
RCS file: /usr/cvsroot/asterisk/codecs/codec_ulaw.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- codec_ulaw.c	12 May 2005 17:40:44 -0000	1.12
+++ codec_ulaw.c	6 Jun 2005 22:12:19 -0000	1.13
@@ -10,6 +10,17 @@
  * the GNU General Public License
  */
 
+#include <fcntl.h>
+#include <netinet/in.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <unistd.h>
+
+#include "asterisk.h"
+
+ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
+
 #include "asterisk/lock.h"
 #include "asterisk/logger.h"
 #include "asterisk/module.h"
@@ -18,12 +29,6 @@
 #include "asterisk/translate.h"
 #include "asterisk/channel.h"
 #include "asterisk/ulaw.h"
-#include <fcntl.h>
-#include <netinet/in.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <unistd.h>
 
 #define BUFFER_SIZE   8096	/* size for the translation buffers */
 




More information about the svn-commits mailing list