mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-18 10:51:40 +00:00
go back to including libresample in the main Asterisk binary, but this time including a small hack to ensure that it does get linked in (and also modify the strip_nonapi script to leave the resample_<foo> symbols alone)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@95816 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -39,8 +39,14 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
|
||||
#include "asterisk/cli.h"
|
||||
#include "asterisk/term.h"
|
||||
|
||||
#include "libresample.h"
|
||||
|
||||
#define MAX_RECALC 1000 /* max sample recalc */
|
||||
|
||||
/* hack to ensure that the libresample code gets linked in */
|
||||
|
||||
static attribute_unused void (*resample_hack)(void *) = resample_close;
|
||||
|
||||
/*! \brief the list of translators */
|
||||
static AST_RWLIST_HEAD_STATIC(translators, ast_translator);
|
||||
|
||||
|
Reference in New Issue
Block a user