aboutsummaryrefslogtreecommitdiffstats
path: root/codecs/codec_g723_1.c
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2006-06-07 18:54:56 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2006-06-07 18:54:56 +0000
commit73c525e6e2dbcf452c2e78e44a63678f2b2068ea (patch)
treef9408ad7864dc1683b929f25a692213b22442992 /codecs/codec_g723_1.c
parent3cd1c6869dcb5f1d85a602c7b53a33437ceb0d32 (diff)
simplify autoconfig include mechanism (make tholo happy he can use lint again :-)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32846 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'codecs/codec_g723_1.c')
-rw-r--r--codecs/codec_g723_1.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/codecs/codec_g723_1.c b/codecs/codec_g723_1.c
index 87ccba82e..5da9492a7 100644
--- a/codecs/codec_g723_1.c
+++ b/codecs/codec_g723_1.c
@@ -31,11 +31,9 @@
<defaultenabled>no</defaultenabled>
***/
-#define TYPE_HIGH 0x0
-#define TYPE_LOW 0x1
-#define TYPE_SILENCE 0x2
-#define TYPE_DONTSEND 0x3
-#define TYPE_MASK 0x3
+#include "asterisk.h"
+
+ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include <sys/types.h>
#include <fcntl.h>
@@ -45,10 +43,6 @@
#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"
@@ -78,6 +72,12 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "slin_g723_ex.h"
#include "g723_slin_ex.h"
+#define TYPE_HIGH 0x0
+#define TYPE_LOW 0x1
+#define TYPE_SILENCE 0x2
+#define TYPE_DONTSEND 0x3
+#define TYPE_MASK 0x3
+
/* g723_1 has 240 samples per buffer.
* We want a buffer which is a multiple...
*/