Merge changes from team/russell/codec_resample
authorRussell Bryant <russell@russellbryant.com>
Mon, 31 Dec 2007 21:22:31 +0000 (21:22 +0000)
committerRussell Bryant <russell@russellbryant.com>
Mon, 31 Dec 2007 21:22:31 +0000 (21:22 +0000)
commit21cb767db7d4854769d6a9d15e2008ab27c404a5
tree823393d4498b07581162c3e5266a494aa638a45c
parentf3e2f0bb0a0bed2960871087e3555b5acb239a78
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
26 files changed:
CHANGES
codecs/Makefile
codecs/codec_resample.c [new file with mode: 0644]
codecs/slin_resample_ex.h [new file with mode: 0644]
main/Makefile
main/libresample/LICENSE.txt [new file with mode: 0644]
main/libresample/Makefile.asterisk [new file with mode: 0644]
main/libresample/Makefile.in [new file with mode: 0644]
main/libresample/README.txt [new file with mode: 0644]
main/libresample/config.guess [new file with mode: 0755]
main/libresample/config.sub [new file with mode: 0755]
main/libresample/configure [new file with mode: 0755]
main/libresample/configure.in [new file with mode: 0644]
main/libresample/include/libresample.h [new file with mode: 0644]
main/libresample/install-sh [new file with mode: 0755]
main/libresample/src/configtemplate.h [new file with mode: 0644]
main/libresample/src/filterkit.c [new file with mode: 0644]
main/libresample/src/filterkit.h [new file with mode: 0644]
main/libresample/src/resample.c [new file with mode: 0644]
main/libresample/src/resample_defs.h [new file with mode: 0644]
main/libresample/src/resamplesubs.c [new file with mode: 0644]
main/libresample/tests/compareresample.c [new file with mode: 0644]
main/libresample/tests/resample-sndfile.c [new file with mode: 0644]
main/libresample/tests/testresample.c [new file with mode: 0644]
main/libresample/win/libresample.dsp [new file with mode: 0644]
main/libresample/win/libresample.vcproj [new file with mode: 0644]