summaryrefslogtreecommitdiff
path: root/translate.c
AgeCommit message (Collapse)Author
2006-05-31Add support for using a jitterbuffer for RTP on bridged calls. This includesRussell Bryant
a new implementation of a fixed size jitterbuffer, as well as support for the existing adaptive jitterbuffer implementation. (issue #3854, Slav Klenov) Thank you very much to Slav Klenov of Securax and all of the people involved in the testing of this feature for all of your hard work! git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31052 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-18correct array index calculation (thanks mtaht3!)Kevin P. Fleming
update header file comments to reflect new usage of structure field git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21207 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-17actually return the number steps... not the number of steps minus 1Kevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20964 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-17add an API so that the number of steps required for a translation path can ↵Kevin P. Fleming
be acquired don't transcode via SLINEAR when the option is enabled but there is a direct path from the source to the destination git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20962 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-14This rather large commit changes the way modules are loaded. Luigi Rizzo
As partly documented in loader.c and include/asterisk/module.h, modules are now expected to return all of their methods and flags into a structure 'mod_data', and are normally loaded with RTLD_NOW | RTLD_LOCAL, so symbols are resolved immediately and conflicts should be less likely. Only in a small number of cases (res_*, typically) modules are loaded RTLD_GLOBAL, so they can export symbols. The core of the change is only the two files loader.c and include/asterisk/module.h, all the rest is simply adaptation of the existing modules to the new API, a rather mechanical (but believe me, time and finger-consuming!) process whose detail you can figure out by svn diff'ing any single module. Expect some minor compilation issue after this change, please report it on mantis http://bugs.digium.com/view.php?id=6968 so we collect all the feedback in one place. I am just sorry that this change missed SVN version number 20000! git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20003 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-11use proper typeKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19222 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-08merge rizzo's codec module rework (very similar to the format module rework)Kevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18541 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-29conversion from malloc to ast_mallocRussell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16006 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-25Bug fix for translation updates. Thanks Josh!Matthew Fredrickson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@11119 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-25Merged revisions 11062,11089 via svnmerge from Kevin P. Fleming
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r11062 | kpfleming | 2006-02-24 22:59:50 -0600 (Fri, 24 Feb 2006) | 3 lines reformat code to fit guidelines remember which translation paths are multi-step paths ........ r11089 | kpfleming | 2006-02-24 23:08:46 -0600 (Fri, 24 Feb 2006) | 2 lines factor the number of translation steps required into translation path decisions, so that equal cost paths that require fewer translations are preferred ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@11090 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-11lock list of translators *before* recalculating translation matrix.Russell Bryant
Also, store translators using linked list macros. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7967 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-30update doxygen docs to specify authorsRussell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7682 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-29remove extraneous svn:executable propertiesKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7221 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-14finish merging doxygen updates from issue #5605Russell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7096 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-24Doxygen documentation update from oej (issue #5505)Russell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6847 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-14update MANY more files with proper copyright/license info (thanks Ian!)Kevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6596 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-25ensure translators don't generate old timestamps when silent periods end ↵Kevin P. Fleming
(bug #4707 with formatting fixes) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6203 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-25get rid of potential memory leakRussell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6199 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-15add a library of timeval manipulation functions, and change a large number ↵Kevin P. Fleming
of usses to use the new functions (bug #4504) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6146 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-05print out which format was bigger than MAX_FORMATRussell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6019 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-06more file version tagsKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5866 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-06remove experimental module version tagsKevin P. Fleming
add per-file revision tags and 'show version files' CLI command git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5864 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-29fix *BSD breakage from include-order changes (bug #4067)Kevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5534 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-22phase 1 of header include cleanup (bug #4067)Kevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5498 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-21use double-quotes instead of angle-brackets for non-system include files ↵Kevin P. Fleming
(bug #4058) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5490 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-04optimize codec selection and format changing codeKevin P. Fleming
force all transcode paths to use AST_FORMAT_SLINEAR as the frames pass through the bridge (can be disabled using the 'transcode_via_sln' setting in th 'options' setting in asteris.conf) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5376 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-04Rework channel structure to eliminate "pvt" portion of channel (bug #3573)Mark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5137 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-21update copyright headers for 2005Russell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4868 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-06Minor translation performance improvement (bug #2987, not that patch though)Mark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4393 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-08-01Rename newp to newpvt (bug #2190), change hold music.Mark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3560 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-07-14Remaining rgagnon source audit improvements (bug #2011)Mark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3430 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-22Misc formatting cleanupsJames Golovich
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3279 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-22Remove pthread.h from source. We should be using asterisk/lock.h everywhere ↵James Golovich
instead (except in asterisk/lock.h). git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3276 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-09Merge FreeBSD locking fixes (bug #1411)Mark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3176 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-05-17Allow translation table to be recalculated, including with higher resolutionMark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2996 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-04-21Log when we unload a translator (bug 1460)James Golovich
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2730 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-04-20Don't dereference consumed frame delivery.Mark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2719 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-04-05Don't translate time for packets with no deliveryMark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2631 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-04-05Fix timestamps for codec translations with different sized framesMark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2629 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-03-20Fix ast_translator_free_path (bug 1254)James Golovich
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2494 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-03-19It helps to use the local copy yo ucreatedMark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2477 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-03-19First pass at populating delivery times through translation. Not sure how ↵Mark Spencer
this will affect translations with different packet sizes, but it *ought* to resolve itself in the end. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2474 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-03-01Remove comment about EXPERIMENTAL_TRANSLATION since its not usedJames Golovich
anywhere anymore git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2279 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-02-26Fix 'show translations'James Golovich
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2249 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-02-25Don't be biased against G.726 in translation tableMark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2240 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-16Fix bug #111Mark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1351 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-16Show the names of the codecs instead of the numbers (bug #92)Martin Pycko
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1348 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-13Totally revamp thread debugging to support locating and removing deadlocksMark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1310 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-03-16dom mar 16 23:37:23 CET 2003Matteo Brancaleoni
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@647 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-01-09Version 0.3.0 from FTPMark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@582 65c4cc65-6c06-0410-ace0-fbb531ad65f3