Asterisk media architecture conversion - no more format bitfields
authorDavid Vossel <dvossel@digium.com>
Thu, 3 Feb 2011 16:22:10 +0000 (16:22 +0000)
committerDavid Vossel <dvossel@digium.com>
Thu, 3 Feb 2011 16:22:10 +0000 (16:22 +0000)
commitc26c190711a1bbe3b5fff1a93facae333757c56e
tree00da0caa5a07b7b25729f089dbcafb08129fa9be
parent652fb64a01c7a8656697d07e606620ee0ced6929
Asterisk media architecture conversion - no more format bitfields

This patch is the foundation of an entire new way of looking at media in Asterisk.
The code present in this patch is everything required to complete phase1 of my
Media Architecture proposal.  For more information about this project visit the link below.
https://wiki.asterisk.org/wiki/display/AST/Media+Architecture+Proposal

The primary function of this patch is to convert all the usages of format
bitfields in Asterisk to use the new format and format_cap APIs.  Functionally
no change in behavior should be present in this patch.  Thanks to twilson
and russell for all the time they spent reviewing these changes.

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@306010 65c4cc65-6c06-0410-ace0-fbb531ad65f3
168 files changed:
addons/chan_mobile.c
addons/chan_ooh323.c
addons/chan_ooh323.h
addons/format_mp3.c
addons/ooh323cDriver.c
addons/ooh323cDriver.h
apps/app_alarmreceiver.c
apps/app_amd.c
apps/app_chanspy.c
apps/app_confbridge.c
apps/app_dahdibarge.c
apps/app_dictate.c
apps/app_dumpchan.c
apps/app_echo.c
apps/app_fax.c
apps/app_festival.c
apps/app_followme.c
apps/app_ices.c
apps/app_jack.c
apps/app_meetme.c
apps/app_milliwatt.c
apps/app_mixmonitor.c
apps/app_mp3.c
apps/app_nbscat.c
apps/app_originate.c
apps/app_parkandannounce.c
apps/app_record.c
apps/app_rpt.c
apps/app_sms.c
apps/app_speech_utils.c
apps/app_talkdetect.c
apps/app_test.c
apps/app_voicemail.c
apps/app_waitforsilence.c
bridges/bridge_multiplexed.c
bridges/bridge_simple.c
bridges/bridge_softmix.c
channels/chan_agent.c
channels/chan_alsa.c
channels/chan_bridge.c
channels/chan_console.c
channels/chan_dahdi.c
channels/chan_gtalk.c
channels/chan_h323.c
channels/chan_iax2.c
channels/chan_jingle.c
channels/chan_local.c
channels/chan_mgcp.c
channels/chan_misdn.c
channels/chan_multicast_rtp.c
channels/chan_nbs.c
channels/chan_oss.c
channels/chan_phone.c
channels/chan_sip.c
channels/chan_skinny.c
channels/chan_unistim.c
channels/chan_usbradio.c
channels/chan_vpb.cc
channels/h323/ast_h323.cxx
channels/h323/chan_h323.h
channels/iax2-parser.c
channels/iax2-parser.h
channels/iax2-provision.c
channels/iax2.h
channels/sip/include/globals.h
channels/sip/include/sip.h
codecs/codec_a_mu.c
codecs/codec_adpcm.c
codecs/codec_alaw.c
codecs/codec_dahdi.c
codecs/codec_g722.c
codecs/codec_g726.c
codecs/codec_gsm.c
codecs/codec_ilbc.c
codecs/codec_lpc10.c
codecs/codec_resample.c
codecs/codec_speex.c
codecs/codec_ulaw.c
codecs/ex_adpcm.h
codecs/ex_alaw.h
codecs/ex_g722.h
codecs/ex_g726.h
codecs/ex_gsm.h
codecs/ex_lpc10.h
codecs/ex_speex.h
codecs/ex_ulaw.h
formats/format_g719.c
formats/format_g723.c
formats/format_g726.c
formats/format_g729.c
formats/format_gsm.c
formats/format_h263.c
formats/format_h264.c
formats/format_ilbc.c
formats/format_jpeg.c
formats/format_ogg_vorbis.c
formats/format_pcm.c
formats/format_siren14.c
formats/format_siren7.c
formats/format_sln.c
formats/format_sln16.c
formats/format_vox.c
formats/format_wav.c
formats/format_wav_gsm.c
funcs/func_channel.c
funcs/func_frame_trace.c
funcs/func_pitchshift.c
include/asterisk/abstract_jb.h
include/asterisk/astobj2.h
include/asterisk/audiohook.h
include/asterisk/bridging.h
include/asterisk/bridging_technology.h
include/asterisk/callerid.h
include/asterisk/channel.h
include/asterisk/data.h
include/asterisk/file.h
include/asterisk/format.h [new file with mode: 0644]
include/asterisk/format_cap.h [new file with mode: 0644]
include/asterisk/format_pref.h [new file with mode: 0644]
include/asterisk/frame.h
include/asterisk/frame_defs.h
include/asterisk/image.h
include/asterisk/mod_format.h
include/asterisk/pbx.h
include/asterisk/rtp_engine.h
include/asterisk/slin.h
include/asterisk/slinfactory.h
include/asterisk/speech.h
include/asterisk/translate.h
main/abstract_jb.c
main/app.c
main/asterisk.c
main/astobj2.c
main/audiohook.c
main/bridging.c
main/callerid.c
main/ccss.c
main/channel.c
main/cli.c
main/data.c
main/dial.c
main/dsp.c
main/features.c
main/file.c
main/format.c [new file with mode: 0644]
main/format_cap.c [new file with mode: 0644]
main/format_pref.c [new file with mode: 0644]
main/frame.c
main/image.c
main/indications.c
main/manager.c
main/pbx.c
main/rtp_engine.c
main/slinfactory.c
main/translate.c
main/udptl.c
pbx/pbx_spool.c
res/res_adsi.c
res/res_agi.c
res/res_calendar.c
res/res_clioriginate.c
res/res_fax.c
res/res_fax_spandsp.c
res/res_musiconhold.c
res/res_rtp_asterisk.c
res/res_rtp_multicast.c
res/res_speech.c
tests/test_format_api.c [new file with mode: 0644]