and now just to keep the libresample party going... if the functions from libresample...
authorKevin P. Fleming <kpfleming@digium.com>
Wed, 2 Jan 2008 18:21:04 +0000 (18:21 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Wed, 2 Jan 2008 18:21:04 +0000 (18:21 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@95894 65c4cc65-6c06-0410-ace0-fbb531ad65f3

codecs/Makefile
codecs/codec_resample.c
include/asterisk/libresample.h [new symlink]

index a09f671..d96e7cf 100644 (file)
@@ -54,5 +54,3 @@ $(LIBG722):
        @$(MAKE) -C g722 all
 
 $(if $(filter codec_g722,$(EMBEDDED_MODS)),modules.link,codec_g722.so): $(LIBG722)
-
-codec_resample.o: ASTCFLAGS+=-I$(ASTTOPDIR)/main/libresample/include
index 66d6016..76641ce 100644 (file)
@@ -39,8 +39,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 
 #include "asterisk/module.h"
 #include "asterisk/translate.h"
-
-#include "libresample.h"
+#include "asterisk/libresample.h"
 
 #include "slin_resample_ex.h"
 
diff --git a/include/asterisk/libresample.h b/include/asterisk/libresample.h
new file mode 120000 (symlink)
index 0000000..d71269d
--- /dev/null
@@ -0,0 +1 @@
+../../main/libresample/include/libresample.h
\ No newline at end of file