asterisk/funcs
Matthew Jordan b6a0ae0b35 Unit tests for the Jitter Buffer API; remove unnecessary resync
This patch includes the following:
* Unit tests for the abstract Jitter Buffer API.  This includes both fixed
  and adaptive flavors, testing nominal creation, frame input, frame retrieval,
  resyncing; off nominal frame input overflow, out of order, and others.
* Tweaks to the abstract_jb API to remove the unnecessary resync_threshold
  parameter from the create function (resync_threshold is already in the
  struct passed into the create function)
* Ensure the fixed jitter buffer is empty before destroying it, to avoid an
  ASSERT
* Don't "resync" the adaptive jitter buffer.  The mechanism that was being
  used actually causes the jitter buffer to think its being overflowed by going
  around the jitterbuf API and attempting to 'resynch' it improperly.  If a
  resync is needed, the jitter buffer will do it properly by itself.  Note that
  this is only an optimization needed for trunk, as the worst that happens is 
  the loss of three voice packets before the adaptive jitter buffer will resync
  anyway.
  
Review: https://reviewboard.asterisk.org/r/2035


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@370387 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2012-07-23 21:15:26 +00:00
..
func_aes.c Fix many issues from the NULL_RETURNS Coverity report 2012-05-04 22:17:38 +00:00
func_audiohookinherit.c Replace direct access to channel name with accessor functions 2012-01-09 22:15:50 +00:00
func_base64.c Merged revisions 328247 via svnmerge from 2011-07-14 20:28:54 +00:00
func_blacklist.c Opaquify ast_channel structs and lists 2012-02-29 16:52:47 +00:00
func_callcompletion.c Merged revisions 328247 via svnmerge from 2011-07-14 20:28:54 +00:00
func_callerid.c Add original party id and reason support. 2012-04-20 00:57:13 +00:00
func_cdr.c Coverity Report: Fix issues for error type UNINIT in Core supported modules 2012-05-10 15:57:26 +00:00
func_channel.c Hangup handlers - Dialplan subroutines that run when the channel hangs up. 2012-06-29 17:02:32 +00:00
func_config.c Merged revisions 328247 via svnmerge from 2011-07-14 20:28:54 +00:00
func_curl.c Ensure that all ast_datastore_info structures are 'const'. 2012-07-18 17:18:20 +00:00
func_cut.c Merged revisions 328247 via svnmerge from 2011-07-14 20:28:54 +00:00
func_db.c Merged revisions 328247 via svnmerge from 2011-07-14 20:28:54 +00:00
func_devstate.c Coverity Report: Fix issues for error type CHECKED_RETURN for core 2012-05-10 18:35:14 +00:00
func_dialgroup.c Fix a variety of memory leaks 2012-05-18 14:43:44 +00:00
func_dialplan.c Enable macros in 1.8 to find the next highest "h" extension in a context, like in 1.4. 2012-03-13 08:06:20 +00:00
func_enum.c Allow ENUM query functions to report lookup errors 2011-08-09 17:08:33 +00:00
func_env.c Fix places where a negative return from ftello could be used as invalid input 2012-04-17 20:59:25 +00:00
func_extstate.c Merged revisions 328247 via svnmerge from 2011-07-14 20:28:54 +00:00
func_frame_trace.c Commit framework for HANGUPCAUSE (replacement for SIP_CAUSE) 2012-05-14 19:44:27 +00:00
func_global.c Ensure that all ast_datastore_info structures are 'const'. 2012-07-18 17:18:20 +00:00
func_groupcount.c Avoid cppcheck warnings; removing unused vars and a bit of cleanup. 2012-04-17 18:57:40 +00:00
func_hangupcause.c Add hangupcause translation support 2012-07-20 15:48:55 +00:00
func_iconv.c Merged revisions 328247 via svnmerge from 2011-07-14 20:28:54 +00:00
func_jitterbuffer.c Unit tests for the Jitter Buffer API; remove unnecessary resync 2012-07-23 21:15:26 +00:00
func_lock.c Ensure that all ast_datastore_info structures are 'const'. 2012-07-18 17:18:20 +00:00
func_logic.c Merged revisions 328247 via svnmerge from 2011-07-14 20:28:54 +00:00
func_math.c Correct Documentation For DEC Function 2012-07-12 14:38:44 +00:00
func_md5.c Merged revisions 328247 via svnmerge from 2011-07-14 20:28:54 +00:00
func_module.c Merged revisions 328247 via svnmerge from 2011-07-14 20:28:54 +00:00
func_odbc.c Ensure that all ast_datastore_info structures are 'const'. 2012-07-18 17:18:20 +00:00
func_pitchshift.c Merged revisions 328247 via svnmerge from 2011-07-14 20:28:54 +00:00
func_presencestate.c Multiple revisions 369001-369002 2012-06-15 16:20:16 +00:00
func_rand.c Merged revisions 328247 via svnmerge from 2011-07-14 20:28:54 +00:00
func_realtime.c Allow the REALTIME() function to report errors back to the caller. 2012-07-11 17:16:50 +00:00
func_sha1.c Merged revisions 328247 via svnmerge from 2011-07-14 20:28:54 +00:00
func_shell.c Improve documentation for the SHELL() dialplan function. 2012-07-23 21:10:27 +00:00
func_speex.c Resolve FORWARD_NULL static analysis warnings 2012-05-10 20:56:09 +00:00
func_sprintf.c Merged revisions 328247 via svnmerge from 2011-07-14 20:28:54 +00:00
func_srv.c Merged revisions 328247 via svnmerge from 2011-07-14 20:28:54 +00:00
func_strings.c Add missing newlines to CLI logging 2012-04-06 18:19:03 +00:00
func_sysinfo.c Multiple revisions 361403,361412 2012-04-06 16:33:24 +00:00
func_timeout.c Opaquify ast_channel structs and lists 2012-02-29 16:52:47 +00:00
func_uri.c Merged revisions 328247 via svnmerge from 2011-07-14 20:28:54 +00:00
func_version.c Fix documentation for ${VERSION(ASTERISK_VERSION_NUM)}. 2012-04-19 22:01:20 +00:00
func_vmcount.c Merged revisions 328247 via svnmerge from 2011-07-14 20:28:54 +00:00
func_volume.c Fix a deadlock that occurs when func_volume is used on a local channel. 2012-06-13 21:17:13 +00:00
Makefile Merged revisions 207647 via svnmerge from 2009-07-21 13:28:04 +00:00