summaryrefslogtreecommitdiff
path: root/codecs/Makefile
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2007-12-31 21:22:31 +0000
committerRussell Bryant <russell@russellbryant.com>2007-12-31 21:22:31 +0000
commit21cb767db7d4854769d6a9d15e2008ab27c404a5 (patch)
tree823393d4498b07581162c3e5266a494aa638a45c /codecs/Makefile
parentf3e2f0bb0a0bed2960871087e3555b5acb239a78 (diff)
Merge changes from team/russell/codec_resample
This commit imports libresample for use in Asterisk. It also adds a new codec module, codec_resample. This module uses libresample to re-sample signed linear audio between 8 kHz and 16 kHz. It also provides an alternative for converting between 16 kHz G.722 and 8 kHz signed linear when using G.722, which will likely be useful as some people have complained about volume issues when the current codec_g722 converts to 8 kHz signed linear. But, to test this, you will have to disable the g722-to-slin and g722-to-slin16 translators in codec_g722.c. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@95501 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'codecs/Makefile')
-rw-r--r--codecs/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/codecs/Makefile b/codecs/Makefile
index d96e7cf57..a09f67149 100644
--- a/codecs/Makefile
+++ b/codecs/Makefile
@@ -54,3 +54,5 @@ $(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