aboutsummaryrefslogtreecommitdiffstats
path: root/codecs/codec_speex.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_speex.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_speex.c')
-rw-r--r--codecs/codec_speex.c34
1 files changed, 17 insertions, 17 deletions
diff --git a/codecs/codec_speex.c b/codecs/codec_speex.c
index 5f871b460..81808f9fd 100644
--- a/codecs/codec_speex.c
+++ b/codecs/codec_speex.c
@@ -31,6 +31,10 @@
<depend>libspeex</depend>
***/
+#include "asterisk.h"
+
+ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
+
#include <fcntl.h>
#include <stdlib.h>
#include <unistd.h>
@@ -45,6 +49,19 @@
#include <speex/speex_preprocess.h>
#endif
+#include "asterisk/lock.h"
+#include "asterisk/translate.h"
+#include "asterisk/module.h"
+#include "asterisk/config.h"
+#include "asterisk/options.h"
+#include "asterisk/logger.h"
+#include "asterisk/channel.h"
+#include "asterisk/utils.h"
+
+/* Sample frame data */
+#include "slin_speex_ex.h"
+#include "speex_slin_ex.h"
+
/* codec variables */
static int quality = 3;
static int complexity = 2;
@@ -69,23 +86,6 @@ static float pp_dereverb_level = 0.3;
#define TYPE_LOW 0x1
#define TYPE_MASK 0x3
-#include "asterisk.h"
-
-ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-
-#include "asterisk/lock.h"
-#include "asterisk/translate.h"
-#include "asterisk/module.h"
-#include "asterisk/config.h"
-#include "asterisk/options.h"
-#include "asterisk/logger.h"
-#include "asterisk/channel.h"
-#include "asterisk/utils.h"
-
-/* Sample frame data */
-#include "slin_speex_ex.h"
-#include "speex_slin_ex.h"
-
#define BUFFER_SAMPLES 8000
#define SPEEX_SAMPLES 160