mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 03:20:57 +00:00
simplify autoconfig include mechanism (make tholo happy he can use lint again :-)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32846 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user