Media Project Phase2: SILK 8khz-24khz, SLINEAR 8khz-192khz, SPEEX 32khz, hd audio...
authorDavid Vossel <dvossel@digium.com>
Tue, 22 Feb 2011 23:04:49 +0000 (23:04 +0000)
committerDavid Vossel <dvossel@digium.com>
Tue, 22 Feb 2011 23:04:49 +0000 (23:04 +0000)
commitd760e81f37b231a99865a40f67838c51079ed4f8
treeb061487de973558358757bd1b6e457aaccf41638
parent736133f874f270be81810c2c1fb36c47e6a479bf
Media Project Phase2: SILK 8khz-24khz, SLINEAR 8khz-192khz, SPEEX 32khz, hd audio ConfBridge, and other stuff

-Functional changes
1. Dynamic global format list build by codecs defined in codecs.conf
2. SILK 8khz, 12khz, 16khz, and 24khz with custom attributes defined in codecs.conf
3. Negotiation of SILK attributes in chan_sip.
4. SPEEX 32khz with translation
5. SLINEAR 8khz, 12khz, 24khz, 32khz, 44.1khz, 48khz, 96khz, 192khz with translation
   using codec_resample.c
6. Various changes to RTP code required to properly handle the dynamic format list
   and formats with attributes.
7. ConfBridge now dynamically jumps to the best possible sample rate.  This allows
   for conferences to take advantage of HD audio (Which sounds awesome)
8. Audiohooks are no longer limited to 8khz audio, and most effects have been
   updated to take advantage of this such as Volume, DENOISE, PITCH_SHIFT.
9. codec_resample now uses its own code rather than depending on libresample.

-Organizational changes
Global format list is moved from frame.c to format.c
Various format specific functions moved from frame.c to format.c

Review: https://reviewboard.asterisk.org/r/1104/

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@308582 65c4cc65-6c06-0410-ace0-fbb531ad65f3
50 files changed:
CHANGES
apps/app_chanspy.c
apps/app_jack.c
apps/app_mixmonitor.c
bridges/bridge_multiplexed.c
bridges/bridge_softmix.c
channels/chan_gtalk.c
channels/chan_iax2.c
channels/chan_jingle.c
channels/chan_sip.c
channels/chan_skinny.c
channels/iax2.h
codecs/Makefile
codecs/codec_resample.c
codecs/codec_speex.c
codecs/speex/arch.h [new file with mode: 0644]
codecs/speex/fixed_generic.h [new file with mode: 0644]
codecs/speex/resample.c [new file with mode: 0644]
codecs/speex/resample_sse.h [new file with mode: 0644]
codecs/speex/speex_resampler.h [new file with mode: 0644]
codecs/speex/stack_alloc.h [new file with mode: 0644]
configs/codecs.conf.sample
formats/format_attr_silk.c [new file with mode: 0644]
funcs/func_pitchshift.c
funcs/func_speex.c
funcs/func_volume.c
include/asterisk/_private.h
include/asterisk/audiohook.h
include/asterisk/format.h
include/asterisk/format_cap.h
include/asterisk/frame.h
include/asterisk/rtp_engine.h
include/asterisk/silk.h [new file with mode: 0644]
include/asterisk/slinfactory.h
include/asterisk/time.h
include/asterisk/translate.h
main/asterisk.c
main/audiohook.c
main/bridging.c
main/channel.c
main/data.c
main/format.c
main/format_cap.c
main/format_pref.c
main/frame.c
main/rtp_engine.c
main/slinfactory.c
main/translate.c
res/res_mutestream.c
res/res_rtp_asterisk.c